AM263Px MCU+ SDK: LED_Object Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
LED_Object Struct Reference
APIs for Board Specific Device Drivers » APIs for I2C/GPIO based LED driver

## Detailed Description

LED driver object - not to be used by application.

## Data Fields
I2C_Handle | i2cHandle
uint32_t | gpioBaseAddr
uint32_t | gpioPinNum
uint32_t | i2cInstance
uint32_t | i2cAddress
uint32_t | ioIndex

## Field Documentation

## ◆ i2cHandle

I2C_Handle LED_Object::i2cHandle

I2C driver handle

## ◆ gpioBaseAddr

uint32_t LED_Object::gpioBaseAddr

Underlying GPIO instance that is used by the LED driver incase of GPIO controlled LED

## ◆ gpioPinNum

uint32_t LED_Object::gpioPinNum

GPIO pin to be used

## ◆ i2cInstance

uint32_t LED_Object::i2cInstance

Underlying I2C driver instance that is used by the LED driver incase of I2C controlled LED

## ◆ i2cAddress

uint32_t LED_Object::i2cAddress

I2C address for IO expander or external LED driver

## ◆ ioIndex

uint32_t LED_Object::ioIndex

Index to the IO expander which needs to be set/reset. Applicable only for IO expander based LED.