Functions | |
void | leds_blink (void) |
Blink all LEDs. More... | |
unsigned char | leds_get (void) |
Returns the current status of all leds (respects invert) More... | |
void | leds_init (void) |
void | leds_invert (unsigned char ledv) |
void | leds_off (unsigned char ledv) |
void | leds_on (unsigned char ledv) |
void | leds_toggle (unsigned char ledv) |
static void | show_leds (unsigned char changed) |
Variables | |
static unsigned char | invert |
static unsigned char | leds |
|
static |
References ENERGEST_OFF, ENERGEST_ON, ENERGEST_TYPE_LED_GREEN, ENERGEST_TYPE_LED_RED, ENERGEST_TYPE_LED_YELLOW, invert, leds, leds_arch_set(), LEDS_GREEN, LEDS_RED, and LEDS_YELLOW.
Referenced by leds_invert(), leds_off(), and leds_on().
|
static |
Referenced by leds_blink(), leds_init(), leds_invert(), and show_leds().
|
static |
Referenced by leds_blink(), leds_init(), leds_off(), leds_on(), and show_leds().