Appiko
sensepi_rev4.h
1 
28 #ifndef PLATFORM_SENSE_REV4_H_
29 #define PLATFORM_SENSE_REV4_H_
30 
36 #define LED_RED 26
37 #define LED_GREEN 27
38 
39 #define LED_1 26
40 #define LED_2 27
41 
43 #define LEDS_ACTIVE_STATE 1
44 
45 #define LED_LIGHT_SENSE 28
46 
52 #define BUTTON_PIN 25
53 
54 #define BUTTON_ACTIVE_STATE 0
55 
60 #define JACK_AUDIO_JACK_IO_PIN 11
61 #define JACK_FOCUS_PIN 12
62 #define JACK_TRIGGER_PIN 13
63 
65 #define BATT_VOLTAGE_SENSE 31
67 
71 #define RX_PIN_NUMBER 17
72 #define TX_PIN_NUMBER 20
73 #define HWFC false
74 #define RTS_PIN_NUMBER 23
75 #define CTS_PIN_NUMBER 24
76 
83 #define PIR_AMP_SIGNAL_PIN 4
84 
85 #define PIR_AMP_OFFSET_PIN 5
86 
92 #define MCP4012T_CS_PIN 6
93 
94 #define MCP4012T_UD_PIN 7
95 
96 #define SPI_SCK_PIN 8
97 
102 #define GPIO1_PIN 19
103 #define GPIO2_PIN 18
104 
106 #define DC_DC_CIRCUITRY true
108 
110 #define NFC_CIRCUITRY false
111 
113 #define LFCLK_XTAL_PRESENT true
114 
116 #define HFCLK_XTAL_PRESENT true
117 
119 #define BOARD_LFCLKSRC_STRUCT {.source = NRF_CLOCK_LF_SRC_XTAL, \
120  .rc_ctiv = 0, \
121  .rc_temp_ctiv = 0, \
122  .accuracy = NRF_CLOCK_LF_ACCURACY_20_PPM}
123 
124 #define BOARD_LFCLKSRC NRF_CLOCK_LFCLK_Xtal
125 #endif /* PLATFORM_SENSE_REV4_H_ */
126