55 ((colour & RGB_LED_GREEN) ? LEDS_GREEN : LEDS_COLOUR_NONE) |
56 ((colour & RGB_LED_BLUE) ? LEDS_BLUE : LEDS_COLOUR_NONE);
Header file for the RGB LED driver.
void leds_on(unsigned char leds)
Turn on multiple LEDs.
#define LEDS_ALL
The OR mask representation of all device LEDs.
void leds_off(unsigned char leds)
Turn off multiple LEDs.
void rgb_led_off(void)
Turn off the RGB LED.
#define LEDS_COLOUR_NONE
A default LED colour for non-existing LEDs.
Header file for the LED HAL.
void rgb_led_set(uint8_t colour)
Set the colour of the RGB LED.
uint8_t leds_mask_t
An OR mask datatype to represents multiple LEDs.