|
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef _BOARD_NRF52_TEMPLATE_BOARD_H_
14 #define _BOARD_NRF52_TEMPLATE_BOARD_H_
23 #define BOARD_USART_TX_PIN 6
27 #define BOARD_USART_RX_PIN 8
31 #define BOARD_USART_CTS_PIN 7
35 #define BOARD_USART_RTS_PIN 5
49 #define BOARD_GPIO_PIN_LIST {17, \
66 #define BOARD_GPIO_ID_LED0 0 // mapped to pin P0.17
67 #define BOARD_GPIO_ID_LED1 1 // mapped to pin P0.18
68 #define BOARD_GPIO_ID_LED2 2 // mapped to pin P0.19
69 #define BOARD_GPIO_ID_LED3 3 // mapped to pin P0.20
70 #define BOARD_GPIO_ID_BUTTON0 4 // mapped to pin P0.13
71 #define BOARD_GPIO_ID_BUTTON1 5 // mapped to pin P0.14
72 #define BOARD_GPIO_ID_BUTTON2 6 // mapped to pin P0.15
73 #define BOARD_GPIO_ID_BUTTON3 7 // mapped to pin P0.16
74 #define BOARD_GPIO_ID_USART_WAKEUP 8 // mapped to P0.08
75 #define BOARD_GPIO_ID_UART_IRQ 9 // mapped to P0.11
86 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0, BOARD_GPIO_ID_LED1, BOARD_GPIO_ID_LED2, BOARD_GPIO_ID_LED3}
96 #define BOARD_LED_ACTIVE_LOW true
108 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0, BOARD_GPIO_ID_BUTTON1, BOARD_GPIO_ID_BUTTON2, BOARD_GPIO_ID_BUTTON3}
117 #define BOARD_BUTTON_ACTIVE_LOW true
127 #define BOARD_BUTTON_INTERNAL_PULL true