|
Contiki 3.x
|
Implementation of the cc2538 SPI peripheral. More...
#include "contiki.h"#include "reg.h"#include "spi-arch.h"#include "dev/ioc.h"#include "dev/sys-ctrl.h"#include "dev/spi.h"#include "dev/ssi.h"#include "dev/gpio.h"Go to the source code of this file.
Functions | |
| void | spi_init (void) |
| Initialize the SPI bus. More... | |
| 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... | |
Implementation of the cc2538 SPI peripheral.
Definition in file spi.c.
1.8.5