summaryrefslogtreecommitdiff
path: root/src/lpc
Commit message (Collapse)AuthorAge
* altos/lpc: Stick USB control structure in USB memoryKeith Packard2013-05-18
| | | | | | | No reason to have that in regular ram, and it means we've got space for large enough stacks now Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Use separate interrupt stackKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Try a smaller stack.Keith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Add pin interrupt driverKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Add beep driverKeith Packard2013-05-18
| | | | | | Hardwired to our current beeper pin Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Add ADC driverKeith Packard2013-05-18
| | | | | | Uses burst mode to get the whole set of values in one interrupt Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: add gpio int, spi, adc and ct32b defines to lpc.hKeith Packard2013-05-18
| | | | | | Lots more devices Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Clean up broken IOCONF definesKeith Packard2013-05-18
| | | | | | Missing comment closes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Fix ao_enable_input, add ao_enable_analogKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: LPC interrupt priorities are just 0-3Keith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add LPC spi driverKeith Packard2013-05-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Get USB workingKeith Packard2013-05-17
| | | | | | | The lpc demo now has a USB command line. Also allocates system stack so we know when ram is tight at build time Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Finish off LPC USB register definitionsKeith Packard2013-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Start adding USB register definesKeith Packard2013-05-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Start adding USB register definitionsKeith Packard2013-05-17
| | | | | | Just the bare struct, no defines yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Take advantage of USART TX fifoKeith Packard2013-05-17
| | | | | | | The USART has a 16-byte TX fifo; keep rough track of how full it is to avoid waiting for an interrupt after every TX byte. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Get USART runningKeith Packard2013-05-17
| | | | | | Adds a simple demo thread that spews data to the serial port Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Get 100Hz timer runningKeith Packard2013-05-17
| | | | | | Use systick, which is built into the ARM core Signed-off-by: Keith Packard <keithp@keithp.com>
* lpc: Initial lpcxpresso bitsKeith Packard2013-05-17
This gets the LPC11U14 clock set to the PLL and blinks the LED. Signed-off-by: Keith Packard <keithp@keithp.com>