 |
Wirepas SDK
|
|
Go to the documentation of this file.
14 #ifndef BOARD_SILABS_BRD4180B_BOARD_H_
15 #define BOARD_SILABS_BRD4180B_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_PORTD, 2}, \
33 #define BOARD_GPIO_ID_LED0 0 // mapped to pin PD02
34 #define BOARD_GPIO_ID_LED1 1 // mapped to pin PD03
35 #define BOARD_GPIO_ID_BUTTON0 2 // mapped to pin PB00
36 #define BOARD_GPIO_ID_BUTTON1 3 // mapped to pin PB01
37 #define BOARD_GPIO_ID_USART_WAKEUP 4 // mapped to pin PA06
38 #define BOARD_GPIO_ID_VCOM_ENABLE 5 // mapped to pin PD04
41 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0, BOARD_GPIO_ID_LED1}
44 #define BOARD_LED_ACTIVE_LOW false
47 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0, BOARD_GPIO_ID_BUTTON1}
50 #define BOARD_BUTTON_ACTIVE_LOW true
53 #define BOARD_BUTTON_INTERNAL_PULL false