contiki/cpu
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
..
6502 Removed unused variable. 2014-03-27 19:24:23 +01:00
arm Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
avr Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
cc253x Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
cc2430 Split the cc2430 custom rules into its own file 2014-01-26 23:20:40 +01:00
cc2538 [CC2538-SPI] Implement SPI_FLUSH, spi mode, !CS 2014-04-15 14:07:10 -04:00
mc1322x Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
msp430 Support verbosity control when building MSP430-based platforms with 2014-04-11 17:36:42 +02:00
native Updated include paths for the moved files under net/ 2014-01-26 23:20:23 +01:00
pic32 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
rl78 rl78: Attempt to locate the IAR installation automatically and instruct the user how to specify IAR_PATH if it cannot be found. 2014-01-24 12:50:43 -05:00
stm32w108 Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
x86 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