I2c_Hal_ControllerInstanceType

Module: HAL (AM13E232X) API / I2C HAL API

I2C Controller instance. More…

#include <I2c_Hal.h>

Public Attributes

Name

DL_UNICOMM_Inst_Regs *

HwRegsPtr
Pointer to I2C HW registers.

void *

UserArgsPtr
Pointer to custom user Argument.

I2c_Hal_StateType

CurrentState
Current state of I2C Instance.

I2c_Hal_OperatingModeType

CurrentMode
Current Mode of I2C Instance.

uint8 *

BufferPtr
Holds pointer to the Transfer buffer.

uint32

SizeInBytes
Size of data that needs to be Transfered.

uint32

RemainingSizeInBytes
Holds the remaining bytes to be Transfered.

Detailed Description

struct I2c_Hal_ControllerInstanceType;

I2C Controller instance.

This maintain state of the I2C instance in controller mode. Application should not dereference and read/write fields in this structure.

Public Attributes Documentation

variable HwRegsPtr

DL_UNICOMM_Inst_Regs * HwRegsPtr;

Pointer to I2C HW registers.

variable UserArgsPtr

void * UserArgsPtr;

Pointer to custom user Argument.

variable CurrentState

I2c_Hal_StateType CurrentState;

Current state of I2C Instance.

variable CurrentMode

I2c_Hal_OperatingModeType CurrentMode;

Current Mode of I2C Instance.

variable BufferPtr

uint8 * BufferPtr;

Holds pointer to the Transfer buffer.

variable SizeInBytes

uint32 SizeInBytes;

Size of data that needs to be Transfered.

variable RemainingSizeInBytes

uint32 RemainingSizeInBytes;

Holds the remaining bytes to be Transfered.