Zephyr Project API  3.2.0
A Scalable Open Source RTOS
spi_emul.h File Reference

Public APIs for the SPI emulation drivers. More...

#include <zephyr/device.h>
#include <zephyr/drivers/emul.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/types.h>

Go to the source code of this file.

Data Structures

struct  spi_emul
 
struct  spi_emul_api
 

Typedefs

typedef int(* spi_emul_io_t) (const struct emul *target, const struct spi_config *config, const struct spi_buf_set *tx_bufs, const struct spi_buf_set *rx_bufs)
 

Functions

int spi_emul_register (const struct device *dev, struct spi_emul *emul)
 
uint32_t spi_emul_get_config (const struct device *dev)
 

Detailed Description

Public APIs for the SPI emulation drivers.