#include <types.h>
#include <inttypes.h>
Go to the source code of this file.
Functions | |
| result_t | BSP_OpenLeds (void) |
| Opens leds module to use. | |
| result_t | BSP_CloseLeds (void) |
| Closes leds module. | |
| void | BSP_OnLed (uint8_t id) |
| Turns on a led. | |
| void | BSP_OffLed (uint8_t id) |
| Turns off a led. | |
| void | BSP_ToggleLed (uint8_t id) |
| Switches the led state to the opposite. | |
Definition in file leds.h.
| result_t BSP_CloseLeds | ( | void | ) |
Closes leds module.
| void BSP_OffLed | ( | uint8_t | id | ) |
Turns off a led.
| [in] | id | - number of the led to proceed. Must be chosen from: LED_RED LED_GREEN LED_YELLOW |
| void BSP_OnLed | ( | uint8_t | id | ) |
Turns on a led.
| [in] | id | - number of the led to proceed. Must be chosen from: LED_RED LED_GREEN LED_YELLOW |
| result_t BSP_OpenLeds | ( | void | ) |
Opens leds module to use.
| void BSP_ToggleLed | ( | uint8_t | id | ) |
Switches the led state to the opposite.
| [in] | id | - number of the led to proceed. Must be chosen from: LED_RED LED_GREEN LED_YELLOW |
1.5.1-p1