|
K-FSW ec10f94
Modular flight software on Zephyr, for small satellites
|
#include <boton_test.h>
Public Attributes | |
| uint32_t | press_count |
| uint32_t | last_press_s |
| bool | led_green |
| bool | led_blue |
| bool | led_red |
Consistent snapshot of volatile button and LED state since the current boot.
| uint32_t kfsw_boton_test_status::last_press_s |
Monotonic whole seconds of the latest press, or zero before a press.
| bool kfsw_boton_test_status::led_blue |
Logical state of the blue developer LED.
| bool kfsw_boton_test_status::led_green |
Logical state of the green developer LED.
| bool kfsw_boton_test_status::led_red |
Logical state of the red developer LED.
| uint32_t kfsw_boton_test_status::press_count |
Valid debounced presses; saturates at UINT32_MAX.