nes-proj/cpu/cc2538
Brad Campbell af27d2d252 [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS
Because the CC2538 has a multi-byte SPI RX FIFO, flushing the buffer
requires more than just a single read. This adds a loop that empties the
entire RX buffer on a FLUSH().

Different SPI chips needs different SPI settings. This commit adds a
function that allows chip drivers to configure the SPI peripheral before
using it.

The frame pin the driver was using as a chip select does not work as
most devices expect it to. It toggles after every byte, and most chips
interpret that as end of message. To make drivers more reliable, each
chip driver should setup a GPIO and assert it as needed.
2014-04-15 14:07:10 -04:00
..
dev [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS 2014-04-15 14:07:10 -04:00
usb Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
cc2538.lds cc2538: Remove the unused vtable section 2013-12-23 15:50:05 +01:00
clock.c cc2538: clock: Fix time drift occurring with PM1/2 2013-12-06 13:04:30 +01:00
cpu.c
cpu.h
dbg.c
dbg.h
debug-uart.h
ieee-addr.c CC2538: add secondary location to ieee address 2014-03-06 10:31:30 -05:00
ieee-addr.h CC2538: add secondary location to ieee address 2014-03-06 10:31:30 -05:00
lpm.c Merge pull request #472 from ADVANSEE/cc2538-clock-adjust-etimer-poll 2014-04-13 16:35:17 +01:00
lpm.h cc2538: lpm: Fix build for LPM_CONF_ENABLE == 0 2014-01-28 20:21:06 +01:00
Makefile.cc2538 Merge pull request #411 from ADVANSEE/cc2538-adc 2014-04-13 03:05:12 +01:00
mtarch.h A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
reg.h
rtimer-arch.c cc2538: lpm: Fix RTIMER_NOW() upon wake-up 2013-12-05 20:23:29 +01:00
rtimer-arch.h
slip-arch.c
spi-arch.h [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS 2014-04-15 14:07:10 -04:00