Wirepas SDK
board.h
Go to the documentation of this file.
1 /* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
13 #ifndef _BOARD_NRF52_TEMPLATE_BOARD_H_
14 #define _BOARD_NRF52_TEMPLATE_BOARD_H_
15 
16 // Serial port pins
23 #define BOARD_USART_TX_PIN 6
24 
27 #define BOARD_USART_RX_PIN 8
28 
31 #define BOARD_USART_CTS_PIN 7
32 
35 #define BOARD_USART_RTS_PIN 5
36 
46 #define BOARD_UART_IRQ_PIN 11
47 
60 #define BOARD_LED_PIN_LIST {17, 18, 19, 20}
61 
70 #define BOARD_LED_ACTIVE_LOW true
71 
84 #define BOARD_BUTTON_PIN_LIST {13, 14, 15, 16}
85 
93 #define BOARD_BUTTON_ACTIVE_LOW true
94 
103 #define BOARD_BUTTON_INTERNAL_PULL true
104 
105 #endif /* _BOARD_NRF52_TEMPLATE_BOARD_H_ */