 |
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef BOARD_SILABSBRD4184A_BOARD_H_
14 #define BOARD_SILABSBRD4184A_BOARD_H_
18 #define BOARD_USART_FORCE_BAUDRATE 115200
21 #define BOARD_USART_ID 0
22 #define BOARD_USART_TX_PORT GPIO_PORTA
23 #define BOARD_USART_TX_PIN 5
24 #define BOARD_USART_RX_PORT GPIO_PORTA
25 #define BOARD_USART_RX_PIN 6
28 #define BOARD_GPIO_PIN_LIST {{GPIO_PORTB, 0}, \
34 #define BOARD_GPIO_ID_LED0 0 // mapped to pin PB00
35 #define BOARD_GPIO_ID_BUTTON0 1 // mapped to pin PB01
36 #define BOARD_GPIO_ID_USART_WAKEUP 2 // mapped to pin PA06
37 #define BOARD_GPIO_ID_SPI_CS 3 // mapped to pin PC03
40 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0}
43 #define BOARD_LED_ACTIVE_LOW false
46 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0}
49 #define BOARD_BUTTON_ACTIVE_LOW true
52 #define BOARD_BUTTON_INTERNAL_PULL false