AM62Ax MCU+ SDK  10.01.00
I2CLLD_Message Struct Reference

Detailed Description

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_Transactiontxn
 
uint32_t txnCount
 
uint32_t targetAddress
 
void * arg
 
uint32_t timeout
 
bool controllerMode
 
bool expandSA
 

Field Documentation

◆ txn

I2CLLD_Transaction* I2CLLD_Message::txn

[IN] Array of transaction objects

◆ txnCount

uint32_t I2CLLD_Message::txnCount

[IN] Number of transaction objects

◆ targetAddress

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

◆ arg

void* I2CLLD_Message::arg

[IN] Not used by driver. Used for passing argument to callback function

◆ timeout

uint32_t I2CLLD_Message::timeout

[IN] Timeout value for i2c transaction in micro Seconds

◆ controllerMode

bool I2CLLD_Message::controllerMode

[IN] I2C controller or target mode

◆ expandSA

bool I2CLLD_Message::expandSA

[IN] Expand target address: true: 10-bit address mode, false: 7-bit address mode