|
ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
|
#include <stdbool.h>Go to the source code of this file.
Functions | |
| bool | Button_IsPressed (void) |
| Read the K1 user button state. | |
| bool Button_IsPressed | ( | void | ) |
Read the K1 user button state.
true if the button is currently held down (pin sampled low after the active-low conversion), false otherwise.Definition at line 28 of file button.c.
References BSP_KEY_PIN, and BSP_KEY_PORT.