Functions | |
static void | Buttons_Init (void) |
static uint8_t | Buttons_GetStatus (void) ATTR_WARN_UNUSED_RESULT |
If the BOARD value is set to BOARD_USER, this will include the /Board/Dataflash.h file in the user project directory. Otherwise, it will include the appropriate built in board driver header file.
static uint8_t Buttons_GetStatus | ( | void | ) | [inline, static] |
Returns a mask indicating which board buttons are currently pressed.
static void Buttons_Init | ( | void | ) | [inline, static] |
Initializes the BUTTONS driver, so that the current button position can be read. This sets the appropriate I/O pins to an inputs with pull-ups enabled.
This must be called before any Button driver functions are used.