Development Kit LED drivers.
More...
Development Kit LED drivers.
uint8_t drv_leds_all |
( |
void |
| ) |
|
Get the mask of all LEDs.
- Returns
- Mask covering all supported LEDs.
ret_code_t drv_leds_clr |
( |
uint8_t |
leds_mask | ) |
|
Clear LEDs.
- Parameters
-
[in] | leds_mask | Bit mask of the LEDs to clear. |
- Returns
- NRF_SUCCESS on success, otherwise an error code.
ret_code_t drv_leds_init |
( |
void |
| ) |
|
LED driver initialization.
- Returns
- NRF_SUCCESS on success, otherwise an error code.
ret_code_t drv_leds_set |
( |
uint8_t |
leds_mask | ) |
|
Set LEDs.
- Parameters
-
[in] | leds_mask | Bit mask of the LEDs to set. |
- Returns
- NRF_SUCCESS on success, otherwise an error code.