class I2CWriteRegisterParameter

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
deviceintI2C device identificationYou can manipulate the field device as if it were a regular field. To clear the value of device and reset it to the default value for its type, you call the ClearField() method of the Message interface.
device_addressintI2C device addressYou can manipulate the field device_address as if it were a regular field. To clear the value of device_address and reset it to the default value for its type, you call the ClearField() method of the Message interface.
register_addressintI2C register address (8 or 16 bits)You can manipulate the field register_address as if it were a regular field. To clear the value of register_address and reset it to the default value for its type, you call the ClearField() method of the Message interface.
register_address_sizeintI2C register address sizeYou can manipulate the field register_address_size as if it were a regular field. To clear the value of register_address_size and reset it to the default value for its type, you call the ClearField() method of the Message interface.
timeoutintRequest timeout in millisecondsYou can manipulate the field timeout as if it were a regular field. To clear the value of timeout and reset it to the default value for its type, you call the ClearField() method of the Message interface.
dataI2CDataData to writeTo set data, you simply assign a value directly to a field within data. You can also use the parent message's HasField() method to check if a message type field value has been set.

Parent topic: InterconnectConfig (Python)