Contiki 3.x
spi-arch.h File Reference

Header file for the cc2538 SPI commands. More...

#include "dev/ssi.h"

Go to the source code of this file.

Functions

Arch-specific SPI functions
void spi_cs_init (uint8_t port, uint8_t pin)
 Configure a GPIO to be the chip select pin.
 
void spi_enable (void)
 Enables the SPI peripheral.
 
void spi_disable (void)
 Disables the SPI peripheral. More...
 
void spi_set_mode (uint32_t frame_format, uint32_t clock_polarity, uint32_t clock_phase, uint32_t data_size)
 Configure the SPI data and clock polarity and the data size. More...
 

Detailed Description

Header file for the cc2538 SPI commands.

Definition in file spi-arch.h.