summaryrefslogtreecommitdiff
path: root/src/avr/ao_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/ao_arch.h')
-rw-r--r--src/avr/ao_arch.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/avr/ao_arch.h b/src/avr/ao_arch.h
index 0ed97361..c695a725 100644
--- a/src/avr/ao_arch.h
+++ b/src/avr/ao_arch.h
@@ -145,5 +145,14 @@ extern uint8_t ao_cpu_sleep_disable;
#define ao_arch_critical(b) do { cli(); b; sei(); } while (0)
+#define AO_TELESCIENCE_NUM_ADC 12
+
+struct ao_adc {
+ uint16_t tick; /* tick when the sample was read */
+ uint16_t adc[AO_TELESCIENCE_NUM_ADC]; /* samples */
+};
+
+#define AO_ADC_RING 16
+
#endif /* _AO_ARCH_H_ */