diff options
| author | Keith Packard <keithp@keithp.com> | 2011-08-26 15:02:43 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-08-26 20:56:25 -0700 |
| commit | c32893ce79835a8f861d6ef414644c2ff9769ff6 (patch) | |
| tree | a6fd36123685f6880d35612782ddff2ed2d9b18c /src/cc1111/ao_arch.h | |
| parent | 8125acc030574afed6f23aa8aa302d9c768bb04e (diff) | |
altos: Integrate telescience support
Adds a few drivers including an LCD driver
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_arch.h')
| -rw-r--r-- | src/cc1111/ao_arch.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cc1111/ao_arch.h b/src/cc1111/ao_arch.h index c4972819..8a41791f 100644 --- a/src/cc1111/ao_arch.h +++ b/src/cc1111/ao_arch.h @@ -192,4 +192,16 @@ extern __code __at (0x00a6) uint32_t ao_radio_cal; #define ao_arch_critical(b) __critical { b } +struct ao_adc { + uint16_t tick; /* tick when the sample was read */ + 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 */ +}; + +#define AO_ADC_RING 32 + #endif /* _AO_ARCH_H_ */ |
