 |
Wirepas SDK
|
|
Go to the documentation of this file.
14#ifndef BOARD_SILABS_BRD4181B_BOARD_H_
15#define BOARD_SILABS_BRD4181B_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
34#define BOARD_GPIO_ID_LED1 1
35#define BOARD_GPIO_ID_BUTTON0 2
36#define BOARD_GPIO_ID_BUTTON1 3
37#define BOARD_GPIO_ID_USART_WAKEUP 4
38#define BOARD_GPIO_ID_VCOM_ENABLE 5
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