# tLED_DESCRIPTOR Struct Reference

Structure describing LED hardware connections. More...

## Data Fields
struct {
U32 PIN_MASK
| Bit-mask of LED pin in GPIO port.
U32 PORT
| LED GPIO port.
} | GPIO
| LED GPIO descriptor.
struct {
S32 CHANNEL
| LED PWM channel (< 0 if N/A).
S32 FUNCTION
| LED pin PWM function (< 0 if N/A).
} | PWM
| LED PWM descriptor.

## Detailed Description

Structure describing LED hardware connections.

Definition at line 57 of file led.c.

## Field Documentation

S32 tLED_DESCRIPTOR::CHANNEL

LED PWM channel (< 0 if N/A).

Definition at line 66 of file led.c.

Referenced by LED_Get_Intensity(), and LED_Set_Intensity().

S32 tLED_DESCRIPTOR::FUNCTION

LED pin PWM function (< 0 if N/A).

Definition at line 67 of file led.c.

Referenced by LED_Set_Intensity().

struct { ... } tLED_DESCRIPTOR::GPIO

LED GPIO descriptor.

Referenced by LED_Display(), LED_Display_Mask(), LED_Off(), LED_On(), LED_Set_Intensity(), and LED_Toggle().

U32 tLED_DESCRIPTOR::PIN_MASK

Bit-mask of LED pin in GPIO port.

Definition at line 62 of file led.c.

Referenced by LED_Display(), LED_Display_Mask(), LED_Off(), LED_On(), LED_Set_Intensity(), and LED_Toggle().

U32 tLED_DESCRIPTOR::PORT

LED GPIO port.

Definition at line 61 of file led.c.

Referenced by LED_Display(), LED_Display_Mask(), LED_Off(), LED_On(), LED_Set_Intensity(), and LED_Toggle().

struct { ... } tLED_DESCRIPTOR::PWM

LED PWM descriptor.

Referenced by LED_Get_Intensity(), and LED_Set_Intensity().