![]() |
nRF Connect SDK API 3.3.99
|
LED control API for Audio applications. More...
Macros | |
| #define | RED 0 |
| #define | GREEN 1 |
| #define | BLUE 2 |
| #define | GRN GREEN |
| #define | BLU BLUE |
| #define | LED_ON LED_COLOR_WHITE |
| #define | LED_BLINK true |
| #define | LED_SOLID false |
Enumerations | |
| enum | led_color { LED_COLOR_OFF , LED_COLOR_RED , LED_COLOR_GREEN , LED_COLOR_YELLOW , LED_COLOR_BLUE , LED_COLOR_MAGENTA , LED_COLOR_CYAN , LED_COLOR_WHITE , LED_COLOR_NUM } |
| LED color enumeration for RGB LED control. More... | |
Functions | |
| int | led_blink (uint8_t led_unit,...) |
| Set the state of a given LED unit to blink. | |
| int | led_on (uint8_t led_unit,...) |
| Turn the given LED unit on. | |
| int | led_off (uint8_t led_unit) |
| Set the state of a given LED unit to off. | |
| int | led_init (void) |
| Initialise the LED module. | |
LED control API for Audio applications.
This module provides LED control functionality for user interface and status indication.