STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
button.h
Go to the documentation of this file.
1 
16 #ifndef BSP_BUTTON_H
17 #define BSP_BUTTON_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
32 /* Includes ------------------------------------------------------------------*/
33 #include <stdbool.h>
34 
35 /* Function prototypes -------------------------------------------------------*/
41 bool ButtonIsPressed(void);
42 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif
bool ButtonIsPressed(void)
Check whether the joystick center button is currently pressed.
Definition: button.c:32