|
Contiki 3.x
|
Implementation of the cc2538 SPI peripheral driver. 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 | |
Arch-specific SPI functions | |
| void | spix_init (uint8_t spi) |
| Initialize the SPI bus for the instance given. More... | |
| void | spix_enable (uint8_t spi) |
| Enables the SPI peripheral for the instance given. | |
| void | spix_disable (uint8_t spi) |
| Disables the SPI peripheral for the instance given. More... | |
| void | spix_set_mode (uint8_t spi, 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 for the instance given. More... | |
| void | spix_cs_init (uint8_t port, uint8_t pin) |
| Configure a GPIO to be the chip select pin. More... | |
Implementation of the cc2538 SPI peripheral driver.
Definition in file spi.c.
1.8.6