7#ifndef ZEPHYR_INCLUDE_DRIVERS_SPI_SPI_EMUL_H_
8#define ZEPHYR_INCLUDE_DRIVERS_SPI_SPI_EMUL_H_
int(* spi_emul_io_t)(struct spi_emul *emul, const struct spi_config *config, const struct spi_buf_set *tx_bufs, const struct spi_buf_set *rx_bufs)
Definition: spi_emul.h:60
int spi_emul_register(const struct device *dev, const char *name, struct spi_emul *emul)
uint32_t spi_emul_get_config(const struct device *dev)
struct _snode sys_snode_t
Definition: slist.h:33
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT16_TYPE__ uint16_t
Definition: stdint.h:59
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
SPI buffer array structure.
Definition: spi.h:373
SPI controller configuration structure.
Definition: spi.h:244
Definition: spi_emul.h:77
spi_emul_io_t io
Definition: spi_emul.h:78
Definition: spi_emul.h:34
sys_snode_t node
Definition: spi_emul.h:35
uint16_t chipsel
Definition: spi_emul.h:41
const struct spi_emul_api * api
Definition: spi_emul.h:38