 |
Wirepas SDK
|
|
Go to the documentation of this file.
12 #ifndef BOARD_PCA10153_BOARD_H_
13 #define BOARD_PCA10153_BOARD_H_
58 #define BOARD_USART_TX_PIN 27
59 #define BOARD_USART_RX_PIN 26
60 #define BOARD_USART_CTS_PIN 15
61 #define BOARD_USART_RTS_PIN 14
64 #define BOARD_GPIO_PIN_LIST {0, \
76 #define BOARD_GPIO_ID_LED1 0 // mapped to pin P0.00
77 #define BOARD_GPIO_ID_LED2 1 // mapped to pin P0.01
78 #define BOARD_GPIO_ID_LED3 2 // mapped to pin P0.04
79 #define BOARD_GPIO_ID_LED4 3 // mapped to pin P0.05
80 #define BOARD_GPIO_ID_BUTTON1 4 // mapped to pin P0.08
81 #define BOARD_GPIO_ID_BUTTON2 5 // mapped to pin P0.09
82 #define BOARD_GPIO_ID_BUTTON3 6 // mapped to pin P0.18
83 #define BOARD_GPIO_ID_BUTTON4 7 // mapped to pin P0.19
84 #define BOARD_GPIO_ID_USART_WAKEUP 8 // mapped to pin P0.26
85 #define BOARD_GPIO_ID_UART_IRQ 9 // mapped to pin P0.10
88 #define BOARD_LED_ID_LIST {BOARD_GPIO_ID_LED1, BOARD_GPIO_ID_LED2, BOARD_GPIO_ID_LED3, BOARD_GPIO_ID_LED4}
91 #define BOARD_BUTTON_ID_LIST {BOARD_GPIO_ID_BUTTON1, BOARD_GPIO_ID_BUTTON2, BOARD_GPIO_ID_BUTTON3, BOARD_GPIO_ID_BUTTON4}
94 #define BOARD_LED_ACTIVE_LOW false
97 #define BOARD_BUTTON_ACTIVE_LOW true
100 #define BOARD_BUTTON_INTERNAL_PULL true
105 #ifdef BOARD_SUPPORT_DCDC
106 #error This option has been moved to board/<board_name>/config.mk
110 #define EXT_FLASH_SPI_MOSI 11 // P0.11
111 #define EXT_FLASH_SPI_MISO 12 // P0.12
112 #define EXT_FLASH_SPI_SCK 13 // P0.13
113 #define EXT_FLASH_CS 20 // P0.20
114 #define EXT_FLASH_SPIM_P NRF_SPIM1
116 #define EXT_FLASH_DRIVER_DEBUG_LED