Board definitions for the HiP Badge.
More...
Board definitions for the HiP Badge.
- Author
- Benjamin Valentin benja.nosp@m.min..nosp@m.valen.nosp@m.tin@.nosp@m.ml-pa.nosp@m..com
Definition in file board.h.
#include <stdint.h>
#include "board_common.h"
Go to the source code of this file.
◆ BTN0_MODE
button GPIO mode definition
Since the GPIO of the button is pulled up with an external resistor, the mode for the GPIO pin has to be GPIO_IN.
Definition at line 39 of file board.h.
◆ BTN1_MODE
Default button GPIO mode definition.
Since the GPIO of the button is pulled up with an external resistor, the mode for the GPIO pin has to be GPIO_IN.
Definition at line 59 of file board.h.
◆ BTN2_PIN
BOOT button GPIO pin definition.
The HiP-Badge has a BOOT button connected to GPIO9, which can be used as button during normal operation. Since the GPIO9 pin is pulled up, the button signal is inverted, i.e., pressing the button will give a low signal.
Definition at line 76 of file board.h.