![]() |
Contiki-NG
|
Implementation of the SPI HAL driver for CC13xx/CC26xx. More...
#include "contiki.h"#include "sys/cc.h"#include "dev/spi.h"#include <ti/drivers/SPI.h>#include <ti/drivers/dpl/HwiP.h>#include <ti/drivers/pin/PINCC26XX.h>#include <stdbool.h>#include <stddef.h>#include <stdint.h>Go to the source code of this file.
Functions | |
| bool | spi_arch_has_lock (const spi_device_t *dev) |
| Checks if a device has locked an SPI controller. | |
| bool | spi_arch_is_bus_locked (const spi_device_t *dev) |
| Checks if an SPI controller is locked by any device. | |
| spi_status_t | spi_arch_lock_and_open (const spi_device_t *dev) |
| Locks and opens an SPI controller to the configuration specified. | |
| spi_status_t | spi_arch_close_and_unlock (const spi_device_t *dev) |
| Closes and unlocks an SPI controller. | |
| spi_status_t | spi_arch_transfer (const spi_device_t *dev, const uint8_t *write_buf, int wlen, uint8_t *inbuf, int rlen, int ignore_len) |
| Performs an SPI transfer. | |
Implementation of the SPI HAL driver for CC13xx/CC26xx.
Definition in file spi-arch.c.