summaryrefslogtreecommitdiff
path: root/src-avr/ao_task.c
Commit message (Collapse)AuthorAge
* src-avr: Add ADC routines to telescienceKeith Packard2011-05-21
| | | | | | | Note that SLEEP mode must be disabled or extra ADC interrupts occur, which messes up saving ADC values to the right channel. Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Add 'sleep_cpu' to reduce power usage while idleKeith Packard2011-05-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Add telescience build targetKeith Packard2011-05-19
| | | | | | No serial output, just USB Signed-off-by: Keith Packard <keithp@keithp.com>
* src-avr: Suspend interrupts while switching stacksKeith Packard2011-05-18
| | | | | | | | Setting the stack pointer takes two instructions, so make sure we don't get an interrupt in the middle of it. Let the restoration of SREG set the interrupt flag as appropriate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos-avr: Initial OS port to AVRKeith Packard2011-05-13
This is working with output to the serial line Signed-off-by: Keith Packard <keithp@keithp.com>