 |
Wirepas SDK
|
|
Go to the documentation of this file.
13 #ifndef BOARD_PCA10100_BOARD_H_
14 #define BOARD_PCA10100_BOARD_H_
70 #define BOARD_USART_TX_PIN 6
71 #define BOARD_USART_RX_PIN 8
72 #define BOARD_USART_CTS_PIN 7
73 #define BOARD_USART_RTS_PIN 5
76 #define BOARD_GPIO_PIN_LIST {13, \
88 #define BOARD_GPIO_ID_LED1 0 // mapped to pin P0.13
89 #define BOARD_GPIO_ID_LED2 1 // mapped to pin P0.14
90 #define BOARD_GPIO_ID_LED3 2 // mapped to pin P0.15
91 #define BOARD_GPIO_ID_LED4 3 // mapped to pin P0.16
92 #define BOARD_GPIO_ID_BUTTON1 4 // mapped to pin P0.11
93 #define BOARD_GPIO_ID_BUTTON2 5 // mapped to pin P0.12
94 #define BOARD_GPIO_ID_BUTTON3 6 // mapped to pin P0.24
95 #define BOARD_GPIO_ID_BUTTON4 7 // mapped to pin P0.25
96 #define BOARD_GPIO_ID_USART_WAKEUP 8 // mapped to pin P0.08
97 #define BOARD_GPIO_ID_UART_IRQ 9 // mapped to pin P0.11
100 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED1, BOARD_GPIO_ID_LED2, BOARD_GPIO_ID_LED3, BOARD_GPIO_ID_LED4}
103 #define BOARD_LED_ACTIVE_LOW true
106 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON1, BOARD_GPIO_ID_BUTTON2, BOARD_GPIO_ID_BUTTON3, BOARD_GPIO_ID_BUTTON4}
109 #define BOARD_BUTTON_ACTIVE_LOW true
112 #define BOARD_BUTTON_INTERNAL_PULL true
117 #ifdef BOARD_SUPPORT_DCDC
118 #error This option has been moved to board/<board_name>/config.mk