|
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef _BOARD_EFR32_TEMPLATE_BOARD_H_
14 #define _BOARD_EFR32_TEMPLATE_BOARD_H_
25 #define BOARD_USART_ID 0
33 #define BOARD_USART_ROUTELOC_RXLOC USART_ROUTELOC0_RXLOC_LOC0
40 #define BOARD_USART_ROUTELOC_TXLOC USART_ROUTELOC0_TXLOC_LOC0
45 #define BOARD_USART_TX_PORT GPIOA
49 #define BOARD_USART_TX_PIN 0
53 #define BOARD_USART_RX_PORT GPIOA
57 #define BOARD_USART_RX_PIN 1
71 #define BOARD_GPIO_PIN_LIST {{GPIOF, 4}, \
84 #define BOARD_GPIO_ID_LED0 0 // mapped to pin PF04
85 #define BOARD_GPIO_ID_LED1 1 // mapped to pin PF05
86 #define BOARD_GPIO_ID_BUTTON0 2 // mapped to pin PF06
87 #define BOARD_GPIO_ID_BUTTON1 3 // mapped to pin PF07
97 #define BOARD_GPIO_ID_USART_WAKEUP 4 // mapped to pin PA01
108 #define BOARD_GPIO_ID_UART_IRQ 5 // mapped to pin PD08
120 #define BOARD_LED_PIN_LIST {BOARD_GPIO_ID_LED0, BOARD_GPIO_ID_LED1}
129 #define BOARD_LED_ACTIVE_LOW false
141 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0, BOARD_GPIO_ID_BUTTON1}
151 #define BOARD_BUTTON_ACTIVE_LOW true
161 #define BOARD_BUTTON_INTERNAL_PULL true