Zephyr API 3.6.99
Loading...
Searching...
No Matches
spi_emul Struct Reference

Node in a linked list of emulators for SPI devices. More...

#include <spi_emul.h>

Data Fields

sys_snode_t node
 
const struct emultarget
 Target emulator - REQUIRED for all bus emulators.
 
const struct spi_emul_apiapi
 
struct spi_emul_apimock_api
 A mock API that if not NULL will take precedence over the actual API.
 
uint16_t chipsel
 

Detailed Description

Node in a linked list of emulators for SPI devices.

Field Documentation

◆ api

const struct spi_emul_api* spi_emul::api

◆ chipsel

uint16_t spi_emul::chipsel

◆ mock_api

struct spi_emul_api* spi_emul::mock_api

A mock API that if not NULL will take precedence over the actual API.

If set, a return value of -ENOSYS will revert back to the default api.

◆ node

sys_snode_t spi_emul::node

◆ target

const struct emul* spi_emul::target

Target emulator - REQUIRED for all bus emulators.


The documentation for this struct was generated from the following file: