AM261x MCU+ SDK: I2C_Object Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
I2C_Object Struct Reference
APIs for SOC Specific Device Drivers » APIs for I2C HLD

## Detailed Description

I2C Object.

The application must not access any member variables of this structure!

## Data Fields
SemaphoreP_Object | mutex
SemaphoreP_Object | transferComplete
HwiP_Object | hwiObj
I2C_Params | i2cParams
uint8_t | state
I2C_Transaction * | currentTransaction
I2C_Transaction * | headPtr
I2C_Transaction * | tailPtr
bool | isOpen
uint32_t | intStatusErr
I2CLLD_Object | i2cLldObject
I2CLLD_Handle | i2cLldHandle

## Field Documentation

## ◆ mutex

SemaphoreP_Object I2C_Object::mutex

Grants exclusive access to I2C

## ◆ transferComplete

SemaphoreP_Object I2C_Object::transferComplete

Notify finished I2C transfer

## ◆ hwiObj

HwiP_Object I2C_Object::hwiObj

Hwi object

## ◆ i2cParams

I2C_Params I2C_Object::i2cParams

I2C open parameters as provided by user

## ◆ state

uint8_t I2C_Object::state

Stores the I2C state

## ◆ currentTransaction

I2C_Transaction* I2C_Object::currentTransaction

I2C transaction variables Pointer to current I2C transaction

## ◆ headPtr

I2C_Transaction* I2C_Object::headPtr

## ◆ tailPtr

I2C_Transaction* I2C_Object::tailPtr

## ◆ isOpen

bool I2C_Object::isOpen

## ◆ intStatusErr

uint32_t I2C_Object::intStatusErr

## ◆ i2cLldObject

I2CLLD_Object I2C_Object::i2cLldObject

## ◆ i2cLldHandle

I2CLLD_Handle I2C_Object::i2cLldHandle