class DeviceIdReg

Defined at line 115 of file ../../src/devices/power/drivers/fusb302/registers.h

DEVICE ID - Identifies the chip.

Rev 5 datasheet: Table 17 on page 19

Public Members

 field_version_id_117
 field_product_id_118
 field_revision_id_119

Public Methods

template <, >
SelfType & set_version_id (typename SelfType::ValueType val)

Defined at line 117 of file ../../src/devices/power/drivers/fusb302/registers.h

template <, >
typename SelfType::ValueType version_id ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 117 of file ../../src/devices/power/drivers/fusb302/registers.h

template <, >
typename SelfType::ValueType product_id ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 118 of file ../../src/devices/power/drivers/fusb302/registers.h

template <, >
SelfType & set_product_id (typename SelfType::ValueType val)

Defined at line 118 of file ../../src/devices/power/drivers/fusb302/registers.h

template <, >
typename SelfType::ValueType revision_id ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 119 of file ../../src/devices/power/drivers/fusb302/registers.h

template <, >
SelfType & set_revision_id (typename SelfType::ValueType val)

Defined at line 119 of file ../../src/devices/power/drivers/fusb302/registers.h

hwreg::I2cRegisterAddr<DeviceIdReg> Get ()

Defined at line 132 of file ../../src/devices/power/drivers/fusb302/registers.h

char VersionCharacter ()

The product name is "F302", suffixed by the return value character.

Returns "?" if the version ID is invalid.

Defined at line 1212 of file ../../src/devices/power/drivers/fusb302/registers.h

char RevisionCharacter ()

The revision is the returned character.

Defined at line 1221 of file ../../src/devices/power/drivers/fusb302/registers.h

const char * ProductString ()

Returns a C-style string that contains the expanded product ID.

Defined at line 1227 of file ../../src/devices/power/drivers/fusb302/registers.h

Records