Appiko
sensepi_rev3.h
1 
28 #ifndef PLATFORM_SENSE_REV3_H_
29 #define PLATFORM_SENSE_REV3_H_
30 
36 #define LED_RED 28
37 #define LED_GREEN 29
38 #define LED_BLUE 27
39 
40 #define LED_1 28
41 #define LED_2 29
42 #define LED_3 27
43 
44 #define LEDS_ACTIVE_STATE 1
45 
46 #define LED_LIGHT_SENSE 30
47 
53 #define BUTTON_PIN 26
54 
55 #define BUTTON_ACTIVE_STATE 0
56 
61 #define JACK_DETECT 13
62 #define JACK_FOCUS 12
63 #define JACK_TRIGGER 11
64 
66 #define BATT_VOLTAGE_SENSE 31
68 
72 #define RX_PIN_NUMBER 19
73 #define TX_PIN_NUMBER 17
74 #define CTS_PIN_NUMBER 18
75 #define RTS_PIN_NUMBER 20
76 #define HWFC false
77 
83 #define PIR_RC_SIGNAL_PIN 4
84 
85 #define PIR_RC_OFFSET_PIN 5
86 
92 #define PIR_AMP_SIGNAL_PIN 5
93 
94 #define PIR_AMP_OFFSET_PIN 4
95 
97 #define DC_DC_CIRCUITRY true
99 
101 #define NFC_CIRCUITRY false
102 
104 #define LFCLK_XTAL_PRESENT true
105 
107 #define HFCLK_XTAL_PRESENT true
108 
110 #define BOARD_LFCLKSRC_STRUCT {.source = NRF_CLOCK_LF_SRC_XTAL, \
111  .rc_ctiv = 0, \
112  .rc_temp_ctiv = 0, \
113  .accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}
114 
115 #define BOARD_LFCLKSRC NRF_CLOCK_LFCLK_Xtal
116 
117 #endif /* PLATFORM_SENSE_REV3_H_ */
118