 |
Wirepas SDK
|
|
Go to the documentation of this file.
13#ifndef BOARD_BG22_EK4108A_BOARD_H_
14#define BOARD_BG22_EK4108A_BOARD_H_
17#define BOARD_USART_ID 0
19#define BOARD_USART_TX_PORT GPIO_PORTA
20#define BOARD_USART_TX_PIN 5
21#define BOARD_USART_RX_PORT GPIO_PORTA
22#define BOARD_USART_RX_PIN 6
25#define BOARD_GPIO_PIN_LIST {{GPIO_PORTA, 4},\
30#define BOARD_GPIO_ID_LED0 0
31#define BOARD_GPIO_ID_BUTTON0 1
32#define BOARD_GPIO_ID_USART_WAKEUP 2
35#define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0}
38#define BOARD_LED_ACTIVE_LOW false
44#define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0}
47#define BOARD_BUTTON_ACTIVE_LOW true
50#define BOARD_BUTTON_INTERNAL_PULL false