Records

Functions

  • zx::result<std::vector<uint8_t>> SpiChannelsToFidl (uint32_t bus_idcpp20::span<const Channel> channels)

    Convert an array of spi_channel to fuchsia.hardware.spi.SpiBusMetadata encoded

    in a FIDL byte stream, using the convention for data persistence:

    https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0120_standalone_use_of_fidl_wire_format?hl=en#convention_for_data_persistence

    Defined at line 9 of file ../../src/devices/lib/fidl-metadata/spi.cc