AM261x MCU+ SDK: I2CLLD_Transaction Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
I2CLLD_Transaction Struct Reference
APIs for SOC Specific Device Drivers » APIs for I2C LLD

## Detailed Description

I2C Transaction.

This structure defines the nature of the I2C transaction.

I2C Controller Mode: This structure specifies the buffer and buffer's size that is to be written to and read from the I2C target peripheral.

## Data Fields
uint8_t * | writeBuf
uint32_t | writeCount
uint8_t * | readBuf
uint32_t | readCount

## Field Documentation

## ◆ writeBuf

uint8_t* I2CLLD_Transaction::writeBuf

[IN] Data buffer from which data to be written to the target

## ◆ writeCount

uint32_t I2CLLD_Transaction::writeCount

[IN] Number of bytes to be written to the target

## ◆ readBuf

uint8_t* I2CLLD_Transaction::readBuf

[IN] Data buffer to which data to be read from the target

## ◆ readCount

uint32_t I2CLLD_Transaction::readCount

[IN] Number of bytes to be read from the target