 |
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef BOARD_PCA10056_BOARD_H_
14 #define BOARD_PCA10056_BOARD_H_
76 #define BOARD_USART_TX_PIN 6
77 #define BOARD_USART_RX_PIN 8
78 #define BOARD_USART_CTS_PIN 7
79 #define BOARD_USART_RTS_PIN 5
82 #define BOARD_GPIO_PIN_LIST {13, \
94 #define BOARD_GPIO_ID_LED0 0 // mapped to pin P0.13
95 #define BOARD_GPIO_ID_LED1 1 // mapped to pin P0.14
96 #define BOARD_GPIO_ID_LED2 2 // mapped to pin P0.15
97 #define BOARD_GPIO_ID_LED3 3 // mapped to pin P0.16
98 #define BOARD_GPIO_ID_BUTTON0 4 // mapped to pin P0.11
99 #define BOARD_GPIO_ID_BUTTON1 5 // mapped to pin P0.12
100 #define BOARD_GPIO_ID_BUTTON2 6 // mapped to pin P0.24
101 #define BOARD_GPIO_ID_BUTTON3 7 // mapped to pin P0.25
102 #define BOARD_GPIO_ID_USART_WAKEUP 8 // mapped to pin P0.08
103 #define BOARD_GPIO_ID_UART_IRQ 9 // mapped to pin P0.11
106 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED0, BOARD_GPIO_ID_LED1, BOARD_GPIO_ID_LED2, BOARD_GPIO_ID_LED3}
109 #define BOARD_LED_ACTIVE_LOW true
112 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON0, BOARD_GPIO_ID_BUTTON1, BOARD_GPIO_ID_BUTTON2, BOARD_GPIO_ID_BUTTON3}
115 #define BOARD_BUTTON_ACTIVE_LOW true
118 #define BOARD_BUTTON_INTERNAL_PULL true
123 #ifdef BOARD_SUPPORT_DCDC
124 #error This option has been moved to board/<board_name>/config.mk