class SpiChannel

Defined at line 25 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi.businfo/fuchsia.hardware.spi.businfo/cpp/fidl/fuchsia.hardware.spi.businfo/cpp/natural_types.h

Represents a single device on a SPI bus.

Public Methods

void SpiChannel ()

Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi.businfo/fuchsia.hardware.spi.businfo/cpp/fidl/fuchsia.hardware.spi.businfo/cpp/natural_types.h

void SpiChannel (SpiChannel && )

Defined at line 32 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi.businfo/fuchsia.hardware.spi.businfo/cpp/fidl/fuchsia.hardware.spi.businfo/cpp/natural_types.h

void SpiChannel (Storage_ storage)
void SpiChannel (const SpiChannel & other)
SpiChannel & operator= (const SpiChannel & other)
bool operator== (const SpiChannel & other)
bool operator!= (const SpiChannel & other)
bool IsEmpty ()
const std::optional<uint32_t> & cs ()

Chip select number for the device.

::std::optional<uint32_t> & cs ()

Chip select number for the device.

SpiChannel & cs (std::optional<uint32_t> value)

Chip select number for the device.

const std::optional<uint32_t> & vid ()

Vendor ID. Used when binding via platform bus device IDs.

::std::optional<uint32_t> & vid ()

Vendor ID. Used when binding via platform bus device IDs.

SpiChannel & vid (std::optional<uint32_t> value)

Vendor ID. Used when binding via platform bus device IDs.

const std::optional<uint32_t> & pid ()

Product ID. Used when binding via platform bus device IDs.

::std::optional<uint32_t> & pid ()

Product ID. Used when binding via platform bus device IDs.

SpiChannel & pid (std::optional<uint32_t> value)

Product ID. Used when binding via platform bus device IDs.

const std::optional<uint32_t> & did ()

Device ID. Used when binding via platform bus device IDs.

::std::optional<uint32_t> & did ()

Device ID. Used when binding via platform bus device IDs.

SpiChannel & did (std::optional<uint32_t> value)

Device ID. Used when binding via platform bus device IDs.

const std::optional<bool> & cs_polarity_high ()

Chip select polarity: true == high, false == low.

::std::optional<bool> & cs_polarity_high ()

Chip select polarity: true == high, false == low.

SpiChannel & cs_polarity_high (std::optional<bool> value)

Chip select polarity: true == high, false == low.

SpiChannel & operator= (SpiChannel && )

Defined at line 33 of file fidling/gen/sdk/fidl/fuchsia.hardware.spi.businfo/fuchsia.hardware.spi.businfo/cpp/fidl/fuchsia.hardware.spi.businfo/cpp/natural_types.h

const std::optional<uint8_t> & word_length_bits ()

Size in bits of a single word on the SPI bus.

::std::optional<uint8_t> & word_length_bits ()

Size in bits of a single word on the SPI bus.

SpiChannel & word_length_bits (std::optional<uint8_t> value)

Size in bits of a single word on the SPI bus.

const std::optional<bool> & is_bus_controller ()

Are we in charge of the bus?

::std::optional<bool> & is_bus_controller ()

Are we in charge of the bus?

SpiChannel & is_bus_controller (std::optional<bool> value)

Are we in charge of the bus?

const std::optional<bool> & clock_polarity_high ()

Clock polarity. true == high, false == low.

::std::optional<bool> & clock_polarity_high ()

Clock polarity. true == high, false == low.

SpiChannel & clock_polarity_high (std::optional<bool> value)

Clock polarity. true == high, false == low.

const std::optional< ::fuchsia_hardware_spi_businfo::SpiClockPhase> & clock_phase ()

Clock phase.

::std::optional< ::fuchsia_hardware_spi_businfo::SpiClockPhase> & clock_phase ()

Clock phase.

SpiChannel & clock_phase (std::optional< ::fuchsia_hardware_spi_businfo::SpiClockPhase> value)

Clock phase.

void SpiChannel (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits