Smart Remote 3 nRF52 v1.2
Functions
LED drivers

Development Kit LED drivers. More...

Functions

uint8_t drv_leds_all (void)
 Get the mask of all LEDs. More...
 
ret_code_t drv_leds_clr (uint8_t leds_mask)
 Clear LEDs. More...
 
ret_code_t drv_leds_init (void)
 LED driver initialization. More...
 
ret_code_t drv_leds_set (uint8_t leds_mask)
 Set LEDs. More...
 

Detailed Description

Development Kit LED drivers.

Function Documentation

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_maskBit 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_maskBit mask of the LEDs to set.
Returns
NRF_SUCCESS on success, otherwise an error code.

Documentation feedback | Developer Zone | Subscribe | Updated