class I2CConfiguration

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
deviceuint32I2C device identification
enabledboolTrue if I2C device is enabled, false otherwise
modeuint32Mode
addressinguint32Addressing mode

Member functions

Function nameReturn typeInput typeDescription
device() constuint32voidReturns the current value of device. If the device is not set, returns 0.
set_device()voiduint32Sets the value of device. After calling this, device() will return value.
clear_device()voidvoidClears the value of device. After calling this, device() will return the empty string/empty bytes.
enabled()boolvoidReturns the current value of enabled. If the enabled is not set, returns 0.
set_enabled()voidboolSets the value of enabled. After calling this, enabled() will return value.
clear_enabled()voidvoidClears the value of enabled. After calling this, enabled() will return 0.
mode() constuint32voidReturns the current value of mode. If the mode is not set, returns 0.
set_mode()voiduint32Sets the value of mode. After calling this, mode() will return value.
clear_mode()voidvoidClears the value of mode. After calling this, mode() will return the empty string/empty bytes.
addressing() constuint32voidReturns the current value of addressing. If the addressing is not set, returns 0.
set_addressing()voiduint32Sets the value of addressing. After calling this, addressing() will return value.
clear_addressing()voidvoidClears the value of addressing. After calling this, addressing() will return the empty string/empty bytes.

Parent topic: InterconnectConfig (C++)