Appiko
sensepi_rev2.h
1 
28 #ifndef PLATFORM_SENSE_REV2_H_
29 #define PLATFORM_SENSE_REV2_H_
30 
36 #define LED_RED 19
37 #define LED_GREEN 20
38 #define LED_BLUE 17
39 
40 #define LED_1 17
41 #define LED_2 20
42 #define LED_3 19
43 
44 #define LEDS_ACTIVE_STATE 0
45 
50 #define RX_PIN_NUMBER 26
51 #define TX_PIN_NUMBER 27
52 #define CTS_PIN_NUMBER 30
53 #define RTS_PIN_NUMBER 29
54 #define HWFC false
55 
61 #define PIR_RC_SIGNAL_PIN 4
62 
63 #define PIR_RC_OFFSET_PIN 5
64 
70 #define PIR_AMP_SIGNAL_PIN 3
71 
72 #define PIR_AMP_OFFSET_PIN 2
73 
75 #define TPS610985_REG_MODE_PIN 25
78 
80 #define DC_DC_CIRCUITRY true
81 
83 #define NFC_CIRCUITRY false
84 
86 #define LFCLK_XTAL_PRESENT true
87 
89 #define HFCLK_XTAL_PRESENT true
90 
92 #define BOARD_LFCLKSRC_STRUCT {.source = NRF_CLOCK_LF_SRC_XTAL, \
93  .rc_ctiv = 0, \
94  .rc_temp_ctiv = 0, \
95  .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
96 
97 #define BOARD_LFCLKSRC NRF_CLOCK_LFCLK_Xtal
98 
99 #endif /* PLATFORM_SENSE_REV2_H_ */
100