summaryrefslogtreecommitdiff
path: root/src/lpc/lpc.h
Commit message (Collapse)AuthorAge
* altos/lpc: Allow for alternate SPI SCLK0 pin usageKeith Packard2013-05-19
| | | | | | | SPI SCLK0 can appear on three different pins; let the application configure which one it wants. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Fix beeper driverKeith Packard2013-05-19
| | | | | | | | Set prescale limit, not current prescale value (pr instead of pc). Flip output 1 on PWM match (set emc toggle for channel 1). Don't hold counter in reset (turn off CRST bit). 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: 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: 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>
* 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>