#include <Mutex.h>
#include <cstdarg>
#include <cstdint>
Go to the source code of this file.
|
| class | IUserInterface |
| | Manages the user interface The user interface can consist of buttons, LED, serial print ports, etc. It is not a graphical interface. The board will communicate its state via the UI and the user can send commands via the UI. More...
|
| |
|
| enum | RgbColor {
RgbColor::RED = 0,
RgbColor::GREEN,
RgbColor::BLUE,
RgbColor::VIOLET,
RgbColor::TEAL,
RgbColor::YELLOW,
RgbColor::WHITE,
RgbColor::OFF
} |
| | Possible colors obtainable with an RGB LED. More...
|
| |
| enum | Button { Button::BUTTON_0 = 0,
Button::BUTTON_1
} |
| | Buttons present on the board. More...
|
| |
| enum | LED { LED::LED_0 = 0,
LED::LED_1,
LED::LED_2
} |
| | LED present on the board. More...
|
| |
◆ buttonCallbackFunction_t
| typedef void(* buttonCallbackFunction_t) (void *instance) |
Prototype for a callback from a button press.
◆ Button
Buttons present on the board.
| Enumerator |
|---|
| BUTTON_0 | |
| BUTTON_1 | |
◆ LED
LED present on the board.
| Enumerator |
|---|
| LED_0 | |
| LED_1 | |
| LED_2 | |
◆ RgbColor
Possible colors obtainable with an RGB LED.
| Enumerator |
|---|
| RED | |
| GREEN | |
| BLUE | |
| VIOLET | |
| TEAL | |
| YELLOW | |
| WHITE | |
| OFF | |
◆ g_brButton
◆ g_nbrLED
| constexpr uint16_t g_nbrLED = static_cast<uint16_t>(LED::LED_2) + 1 |
|
constexpr |