|
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef BOARD_TBSENSE2_BOARD_H_
14 #define BOARD_TBSENSE2_BOARD_H_
18 #define BOARD_USART_ID 1
19 #define BOARD_USART_GPIO_PORT GPIOF
20 #define BOARD_USART_TX_PIN 3
21 #define BOARD_USART_RX_PIN 4
24 #define BOARD_USART_ROUTELOC_RXLOC USART_ROUTELOC0_RXLOC_LOC27
25 #define BOARD_USART_ROUTELOC_TXLOC USART_ROUTELOC0_TXLOC_LOC27
28 #define BOARD_USART_ID 0
29 #define BOARD_USART_GPIO_PORT GPIOA
30 #define BOARD_USART_TX_PIN 0
31 #define BOARD_USART_RX_PIN 1
35 #define BOARD_USART_FORCE_BAUDRATE 115200
39 #define BOARD_USART_ROUTELOC_RXLOC USART_ROUTELOC0_RXLOC_LOC0
40 #define BOARD_USART_ROUTELOC_TXLOC USART_ROUTELOC0_TXLOC_LOC0
44 #define BOARD_UART_INT_PIN 6
45 #define BOARD_UART_INT_PORT GPIOF
49 #define BOARD_I2C_GPIO_PORT GPIOC
50 #define BOARD_I2C_SDA_PIN 4
51 #define BOARD_I2C_SCL_PIN 5
52 #define BOARD_I2C_ROUTELOC_SDALOC I2C_ROUTELOC0_SDALOC_LOC17
53 #define BOARD_I2C_ROUTELOC_SCLLOC I2C_ROUTELOC0_SCLLOC_LOC17
56 #define BOARD_LED_PIN_LIST {{GPIOD, 8}, {GPIOD, 9}}
59 #define BOARD_LED_ACTIVE_LOW false
62 #define BOARD_BUTTON_PIN_LIST {{12, GPIOD, 14}, {14, GPIOD, 15}}
65 #define BOARD_BUTTON_ACTIVE_LOW true
68 #define BOARD_BUTTON_INTERNAL_PULL false
71 #define BOARD_BUTTON_USE_EVEN_INT true