Appiko
pca10028.h
1 
28 #ifndef PLATFORM_PCA10028_H_
29 #define PLATFORM_PCA10028_H_
30 
34 #define LED_1 21
35 #define LED_2 22
36 #define LED_3 23
37 #define LED_4 24
38 
39 #define LEDS_ACTIVE_STATE 0
40 
45 #define BUTTON_1 17
46 #define BUTTON_2 18
47 #define BUTTON_3 19
48 #define BUTTON_4 20
49 
50 #define BUTTONS_ACTIVE_STATE 0
51 
52 #define BUTTON_PULL NRF_GPIO_PIN_PULLUP
53 
58 #define RX_PIN_NUMBER 11
59 #define TX_PIN_NUMBER 9
60 #define CTS_PIN_NUMBER 10
61 #define RTS_PIN_NUMBER 8
62 
63 #define HWFC false
64 
66 #define DC_DC_CIRCUITRY true
68 
70 #define LFCLK_XTAL_PRESENT true
71 
73 #define HFCLK_XTAL_PRESENT true
74 
76 #define BOARD_LFCLKSRC_STRUCT {.source = NRF_CLOCK_LF_SRC_XTAL, \
77  .rc_ctiv = 0, \
78  .rc_temp_ctiv = 0, \
79  .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
80 
81 #define BOARD_LFCLKSRC NRF_CLOCK_LFCLK_Xtal
82 
83 #endif /* PLATFORM_PCA10028_H_ */
84