altos/telefireone-v1.0: Set various ADC values
authorKeith Packard <keithp@keithp.com>
Tue, 19 Feb 2019 00:25:38 +0000 (16:25 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 19 Feb 2019 00:25:38 +0000 (16:25 -0800)
Reference voltage and divider resistor values.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telefireone-v1.0/ao_pins.h

index b83b024da47705391b268ee191964d2b87ceccd8..cd8eb65861d3b4b7d8bc460a3fa489524c1246fd 100644 (file)
 
 #define AO_ADC_FIRST_PIN       0
 
 
 #define AO_ADC_FIRST_PIN       0
 
+#define AO_ADC_REFERENCE_DV    33
+
 #define AO_NUM_ADC             5
 
 #define AO_ADC_SQ1             AO_PAD_ADC_0
 #define AO_NUM_ADC             5
 
 #define AO_ADC_SQ1             AO_PAD_ADC_0
 #define AO_ADC_SQ4             AO_PAD_ADC_THRUST
 #define AO_ADC_SQ5             AO_PAD_ADC_PRESSURE
 
 #define AO_ADC_SQ4             AO_PAD_ADC_THRUST
 #define AO_ADC_SQ5             AO_PAD_ADC_PRESSURE
 
+#define AO_PAD_R_V_BATT_BATT_SENSE     200
+#define AO_PAD_R_BATT_SENSE_GND                22
+
+#define AO_PAD_R_V_BATT_V_PYRO         200
+#define AO_PAD_R_V_PYRO_PYRO_SENSE     200
+#define AO_PAD_R_PYRO_SENSE_GND                22
+
+#undef AO_PAD_R_V_PYRO_IGNITER
+#define AO_PAD_R_IGNITER_IGNITER_SENSE 200
+#define AO_PAD_R_IGNITER_SENSE_GND     22
+
 #define AO_PYRO_R_PYRO_SENSE   200
 #define AO_PYRO_R_SENSE_GND    22
 
 #define AO_PYRO_R_PYRO_SENSE   200
 #define AO_PYRO_R_SENSE_GND    22