summaryrefslogtreecommitdiff
path: root/src/cc1111/ao_pins.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-29 19:44:56 -0700
committerKeith Packard <keithp@keithp.com>2012-07-29 19:47:42 -0700
commit843fcab46d633e5bb6959286adeb68e41a4c30a3 (patch)
tree53e38c7326dbc191d89c9a4059dcb8c28b4a9ce9 /src/cc1111/ao_pins.h
parente4d244eefa4c779cd9c8a91389bf998c54705b72 (diff)
altos: Add telefire-v0.1
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_pins.h')
-rw-r--r--src/cc1111/ao_pins.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cc1111/ao_pins.h b/src/cc1111/ao_pins.h
index fc6ed3ec..2f0e2884 100644
--- a/src/cc1111/ao_pins.h
+++ b/src/cc1111/ao_pins.h
@@ -560,4 +560,16 @@
#define AO_IGNITER_FIRE_TIME AO_MS_TO_TICKS(50)
#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
+struct ao_adc {
+ int16_t accel; /* accelerometer */
+ int16_t pres; /* pressure sensor */
+ int16_t temp; /* temperature sensor */
+ int16_t v_batt; /* battery voltage */
+ int16_t sense_d; /* drogue continuity sense */
+ int16_t sense_m; /* main continuity sense */
+#if HAS_ACCEL_REF
+ uint16_t accel_ref; /* acceleration reference */
+#endif
+};
+
#endif /* _AO_PINS_H_ */