#include <stdint.h>
#include <stdbool.h>
#include <system.h>
#include <FreeRTOS.h>
#include <semphr.h>
#include <hal.h>
Go to the source code of this file.
|
struct spi * | spi_init (uint32_t index, enum spi_mode mode, struct spi_opt *opt) |
|
int32_t | spi_deinit (struct spi *spi) |
|
int32_t | spi_setCallback (struct spi *spi, bool(*callback)(struct spi_slave *slave, void *data), void *data) |
|
struct spi_slave * | spiSlave_init (struct spi *spi, struct spi_opt *options) |
|
int32_t | spiSlave_deinit (struct spi_slave *slave) |
|
int32_t | spiSlave_transfer (struct spi_slave *slave, uint16_t *sendData, uint16_t *recvData, uint32_t len, TickType_t waittime) |
|
int32_t | spiSlave_send (struct spi_slave *slave, uint16_t *data, uint32_t len, TickType_t waittime) |
|
int32_t | spiSlave_recv (struct spi_slave *slave, uint16_t *data, uint32_t len, TickType_t waittime) |
|
int32_t | spiSlave_transferISR (struct spi_slave *slave, uint16_t *sendData, uint16_t *recvData, uint32_t len) |
|
int32_t | spiSlave_sendISR (struct spi_slave *slave, uint16_t *data, uint32_t len) |
|
int32_t | spiSlave_recvISR (struct spi_slave *slave, uint16_t *data, uint32_t len) |
|