class I2CChannel
Defined at line 25 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/natural_types.h
Used to inform the i2c driver about an attached i2c device.
Public Methods
void I2CChannel (Storage_ storage)
void I2CChannel ()
Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/natural_types.h
void I2CChannel (I2CChannel && )
Defined at line 32 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/natural_types.h
void I2CChannel (const I2CChannel & other)
I2CChannel & operator= (I2CChannel && )
Defined at line 33 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2c.businfo/fuchsia.hardware.i2c.businfo/cpp/fidl/fuchsia.hardware.i2c.businfo/cpp/natural_types.h
I2CChannel & operator= (const I2CChannel & other)
bool operator== (const I2CChannel & other)
bool operator!= (const I2CChannel & other)
bool IsEmpty ()
const std::optional<uint16_t> & address ()
Address of the device.
::std::optional<uint16_t> & address ()
Address of the device.
I2CChannel & address (std::optional<uint16_t> value)
Address of the device.
const std::optional<uint32_t> & i2c_class ()
Class of the device.
TODO(https://fxbug.dev/42158297): remove this once x86 uses ACPI properly.
::std::optional<uint32_t> & i2c_class ()
Class of the device.
TODO(https://fxbug.dev/42158297): remove this once x86 uses ACPI properly.
I2CChannel & i2c_class (std::optional<uint32_t> value)
Class of the device.
TODO(https://fxbug.dev/42158297): remove this once x86 uses ACPI properly.
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.
I2CChannel & 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.
I2CChannel & 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.
I2CChannel & did (std::optional<uint32_t> value)
Device ID. Used when binding via platform bus device IDs.
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?
I2CChannel & is_bus_controller (std::optional<bool> value)
Are we in charge of the bus?
const std::optional<bool> & is_ten_bit ()
Is this device using 10-bit addressing mode (if false, use 7-bit).
::std::optional<bool> & is_ten_bit ()
Is this device using 10-bit addressing mode (if false, use 7-bit).
I2CChannel & is_ten_bit (std::optional<bool> value)
Is this device using 10-bit addressing mode (if false, use 7-bit).
const std::optional<uint32_t> & bus_speed ()
Speed of the bus.
::std::optional<uint32_t> & bus_speed ()
Speed of the bus.
I2CChannel & bus_speed (std::optional<uint32_t> value)
Speed of the bus.
const std::optional< ::std::string> & name ()
Friendly name for this bus. Will default to the empty string if not
specified.
::std::optional< ::std::string> & name ()
Friendly name for this bus. Will default to the empty string if not
specified.
I2CChannel & name (std::optional< ::std::string> value)
Friendly name for this bus. Will default to the empty string if not
specified.
void I2CChannel (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalTableCodingTraits