osd-contiki/cpu/cc2538
Brad Campbell e2af903d05 Added SPI driver for CC2538
This uses the core/dev/spi.h header and implements the spi_init()
function and the various macros for SPI operation. ssi.h contains all of
the register locations and information.

This implementation is not very versatile, mostly because I don't how to
make it flexible in the contiki system. It supports pin muxing for the
four spi pins, but other than that picks sensible defaults.

The SPI macros (like SPI_READ()) are defined in
cpu/cc2538/spi-arch.h. In order to use the SPI driver, add the following
includes to your project:

    #include "spi-arch.h
    #include "dev/spi.h"
2013-09-27 17:46:15 -04:00
..
dev Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
usb Improve handling of CDC ACM line state 2013-04-16 15:49:05 +01:00
cc2538.lds New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
clock.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cpu.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
dbg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
debug-uart.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ieee-addr.h Change the InfoPage Location of the IEEE address 2013-04-17 15:44:01 +01:00
lpm.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
lpm.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
Makefile.cc2538 Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
mtarch.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
reg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rtimer-arch.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rtimer-arch.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
slip-arch.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
spi-arch.h Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00