contiki/core/dev
Brad Campbell a96dc90250 [SPI] Make SPI_FLUSH() more versatile
Currently the SPI driver in core/ sets `SPI_FLUSH()` to be a single read
of the spi RX buffer. This is fine for many microcontrollers, but newer
platforms like the CC2538 have a multi-byte FIFO for the RX buffer. In
that case, a single read is not guaranteed to flush the RX. This commit
allows `SPI_FLUSH()` to be platform dependent if needed, but doesn't
change for platforms where it works.
2014-04-15 14:04:42 -04:00
..
battery-sensor.h
button-sensor.h
eeprom.h
leds.c
leds.h
nullradio.c
nullradio.h
radio-sensor.h
radio.h
rom.h
serial-line.c
serial-line.h
slip.c
slip.h
spi.h [SPI] Make SPI_FLUSH() more versatile 2014-04-15 14:04:42 -04:00
watchdog.h
xmem.h