|
AM65x MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
88 typedef int32_t (*
LED_OpenFxn)(LED_Config *config,
const LED_Params *params);
169 typedef struct LED_Fxns_s
uint32_t i2cAddress
Definition: led.h:159
Parameters passed during LED_open()
Definition: led.h:150
void LED_Params_init(LED_Params *params)
Set default parameters in the LED_Params_s structure.
uint32_t i2cAddress
Definition: led.h:319
int32_t LED_on(LED_Handle handle, uint32_t index)
API to power on the LED.
LED_OnFxn onFxn
Definition: led.h:175
uint16_t index
Definition: tisci_rm_proxy.h:3
int32_t(* LED_SetMaskFxn)(LED_Config *config, uint32_t mask)
Driver implementation to set group mask using a specific LED driver.
Definition: led.h:139
LED_Fxns * fxns
Definition: led.h:201
int32_t(* LED_OnFxn)(LED_Config *config, uint32_t index)
Driver implementation to power on an LED using a specific LED driver.
Definition: led.h:113
int32_t LED_setMask(LED_Handle handle, uint32_t mask)
API to set the group mask incase of I2C controlled LED having more than one LED connected to the cont...
uint32_t i2cInstance
Definition: led.h:156
void * object
Definition: led.h:203
LED device attributes, these are filled by SysCfg based on the device that is selected.
Definition: led.h:188
int32_t LED_off(LED_Handle handle, uint32_t index)
API to power off the LED.
Driver implementation callbacks.
Definition: led.h:170
uint32_t gpioBaseAddr
Definition: led.h:311
void LED_close(LED_Handle handle)
Open LED driver.
LED_SetMaskFxn setMaskFxn
Definition: led.h:179
uint32_t gpioBaseAddr
Definition: led.h:151
LED driver configuration, these are filled by SysCfg based on the device that is selected.
Definition: led.h:198
uint32_t numLedPerGroup
Definition: led.h:189
uint32_t i2cInstance
Definition: led.h:316
struct I2C_Config_s * I2C_Handle
A handle that is returned from a I2C_open() call.
Definition: i2c/v0/i2c.h:175
I2C_Handle i2cHandle
Definition: led.h:309
uint32_t gpioPinNum
Definition: led.h:154
int32_t(* LED_OpenFxn)(LED_Config *config, const LED_Params *params)
Driver implementation to open a specific LED driver.
Definition: led.h:88
const LED_Attrs * LED_getAttrs(uint32_t instanceId)
Return LED attributes.
LED driver object - not to be used by application.
Definition: led.h:308
LED_OpenFxn openFxn
Definition: led.h:171
void(* LED_CloseFxn)(LED_Config *config)
Driver implementation to close a specific LED driver.
Definition: led.h:100
LED_CloseFxn closeFxn
Definition: led.h:173
uint32_t gpioPinNum
Definition: led.h:314
int32_t(* LED_OffFxn)(LED_Config *config, uint32_t index)
Driver implementation to power off an LED using a specific LED driver.
Definition: led.h:126
void * LED_Handle
Handle to the LED driver returned by LED_open()
Definition: led.h:66
LED_Attrs * attrs
Definition: led.h:199
LED_Handle LED_open(uint32_t instanceId, const LED_Params *params)
Open LED driver.
LED_OffFxn offFxn
Definition: led.h:177
uint32_t ioIndex
Definition: led.h:321
uint32_t ioIndex
Definition: led.h:161