summaryrefslogtreecommitdiff
path: root/src/lpc/ao_spi_lpc.c
Commit message (Collapse)AuthorAge
* altos: Clean up warnings for LPC productsKeith Packard2013-12-20
| | | | | | Unused varibles, functions and parameters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Remove spurious semicolonKeith Packard2013-06-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Reset SPI device at startup timeKeith Packard2013-05-19
| | | | | | Wasn't doing the reset sequence correctly (write 0, then write 1). Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Configuring wrong pin for SPI1 MOSIKeith Packard2013-05-19
| | | | | | Was setting configuration for PIO1_21 instead of PIO0_21. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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: Leave SPI enabled all the timeKeith Packard2013-05-19
| | | | | | Might be able to turn it off with some care; more experimentation required. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/lpc: Create TX/RX busy macros for SPI driverKeith Packard2013-05-19
| | | | | | | Check for both fifo status *and* device busy to make sure the device is idle before we touch any registers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add LPC spi driverKeith Packard2013-05-18
Signed-off-by: Keith Packard <keithp@keithp.com>