nes-proj/cpu/cc2538/dev
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
..
ana-regs.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cc2538-rf.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
cc2538-rf.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
gpio.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
gpio.h Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
gptimer.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ioc.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
ioc.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
mpu.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
nvic.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
nvic.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
random.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore-ffsm.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore-sfr.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore-xreg.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
rfcore.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
scb.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
smwdthrosc.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
soc-adc.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
spi.c Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
ssi.h Added SPI driver for CC2538 2013-09-27 17:46:15 -04:00
sys-ctrl.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
sys-ctrl.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
systick.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
uart1.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
uart.c Make the CC2538 UART driver more configurable 2013-08-09 12:20:25 +01:00
uart.h Make the CC2538 UART driver more configurable 2013-08-09 12:20:25 +01:00
udma.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
udma.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
usb-regs.h New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00
watchdog.c New Platform: TI CC2538 Development Kit 2013-04-06 21:07:31 +01:00