Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
spi_emul.h File Reference

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

#include <zephyr/types.h>
#include <device.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) (struct spi_emul *emul, 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, const char *name, struct spi_emul *emul)
 
uint32_t spi_emul_get_config (const struct device *dev)
 

Detailed Description

Public APIs for the SPI emulation drivers.