no-OS
|
Structure holding SPI function pointers that point to the platform specific function. More...
#include <spi.h>
Public Attributes | |
int32_t(* | init )(struct spi_desc **, const struct spi_init_param *) |
int32_t(* | write_and_read )(struct spi_desc *, uint8_t *, uint16_t) |
int32_t(* | transfer )(struct spi_desc *, struct spi_msg *, uint32_t) |
int32_t(* | remove )(struct spi_desc *) |
Structure holding SPI function pointers that point to the platform specific function.
int32_t(* spi_platform_ops::init) (struct spi_desc **, const struct spi_init_param *) |
SPI initialization function pointer
int32_t(* spi_platform_ops::remove) (struct spi_desc *) |
SPI remove function pointer
Iterate over the spi_msg array and send all messages at once
int32_t(* spi_platform_ops::write_and_read) (struct spi_desc *, uint8_t *, uint16_t) |
SPI write/read function pointer