![]() |
master board program
v. 2 - 2018
|
#include "leds.h"
Functions | |
void | one_blink (uint8_t led) |
void | led_on (uint8_t led) |
void | led_off (uint8_t led) |
void | fall_blink (uint8_t times) |
void | up_blink (uint8_t times) |
msg_t | led_command (msg_t command) |
THD_WORKING_AREA (waLedsThread, 128) | |
THD_FUNCTION (LedsThread, arg) | |
void | leds_init (void) |
Variables | |
thread_t * | leds_thread |
static msg_t | leds_commands_queue [LEDS_QUEUE] |
static mailbox_t | leds_commands |
void fall_blink | ( | uint8_t | times | ) |
msg_t led_command | ( | msg_t | command | ) |
void led_off | ( | uint8_t | led | ) |
void led_on | ( | uint8_t | led | ) |
void leds_init | ( | void | ) |
void one_blink | ( | uint8_t | led | ) |
THD_FUNCTION | ( | LedsThread | , |
arg | |||
) |
THD_WORKING_AREA | ( | waLedsThread | , |
128 | |||
) |
void up_blink | ( | uint8_t | times | ) |
|
static |
|
static |
thread_t* leds_thread |