TI-RTOS Drivers
tidrivers_cc32xx_2_16_00_08
|
I2C transaction. More...
#include <I2C.h>
Data Fields | |
void * | writeBuf |
size_t | writeCount |
void * | readBuf |
size_t | readCount |
unsigned char | slaveAddress |
void * | arg |
void * | nextPtr |
I2C transaction.
This structure defines the nature of the I2C transaction. This structure specifies the buffer and buffer's size that is to be written to or read from the I2C slave peripheral. arg is an optional user supplied argument that will be passed to the callback function when the I2C driver is in I2C_MODE_CALLBACK. nextPtr is to be only used by the I2C driver.
void* I2C_Transaction::writeBuf |
buffer containing data to be written
size_t I2C_Transaction::writeCount |
Number of bytes to be written to the slave
void* I2C_Transaction::readBuf |
buffer to which data is to be read into
size_t I2C_Transaction::readCount |
Number of bytes to be read from the slave
unsigned char I2C_Transaction::slaveAddress |
Address of the I2C slave device
void* I2C_Transaction::arg |
argument to be passed to the callback function
void* I2C_Transaction::nextPtr |
used for queuing in I2C_MODE_CALLBACK mode