I2C Message.
This structure defines the complete I2C transfer.
I2C Controller Mode: This structure specifies the transaction objects used to initiate transfer to the I2C target peripheral.
Data Fields | |
I2CLLD_Transaction * | txn |
uint32_t | txnCount |
uint32_t | targetAddress |
void * | arg |
uint32_t | timeout |
bool | controllerMode |
bool | expandSA |
I2CLLD_Transaction* I2CLLD_Message::txn |
[IN] Array of transaction objects
uint32_t I2CLLD_Message::txnCount |
[IN] Number of transaction objects
uint32_t I2CLLD_Message::targetAddress |
[IN] Controller mode: input field from user to set the address of I2C target target mode: output field from driver to report the address of a target channel when multi-target channels are supported, if only one channel is supported, this field is ignored
void* I2CLLD_Message::arg |
[IN] Not used by driver. Used for passing argument to callback function
uint32_t I2CLLD_Message::timeout |
[IN] Timeout value for i2c transaction in micro Seconds
bool I2CLLD_Message::controllerMode |
[IN] I2C controller or target mode
bool I2CLLD_Message::expandSA |
[IN] Expand target address: true: 10-bit address mode, false: 7-bit address mode