|
Wirepas SDK
|
|
Go to the documentation of this file.
14 #ifndef BOARD_SILABS_BRD4312A_BOARD_H_
15 #define BOARD_SILABS_BRD4312A_BOARD_H_
18 #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_PORTB, 0}, \
31 #define BOARD_GPIO_ID_LED0 0 // mapped to pin PB00
32 #define BOARD_GPIO_ID_BUTTON0 1 // mapped to pin PB01
33 #define BOARD_GPIO_ID_USART_WAKEUP 2 // mapped to pin PA06
34 #define BOARD_GPIO_ID_VCOM_ENABLE 3 // mapped to pin PB04
37 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0}
40 #define BOARD_LED_ACTIVE_LOW true
43 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0}
46 #define BOARD_BUTTON_ACTIVE_LOW true
49 #define BOARD_BUTTON_INTERNAL_PULL false