Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Node in a linked list of emulators for SPI devices. More...
#include <spi_emul.h>
Data Fields | |
sys_snode_t | node |
const struct emul * | target |
Target emulator - REQUIRED for all bus emulators. | |
const struct spi_emul_api * | api |
struct spi_emul_api * | mock_api |
A mock API that if not NULL will take precedence over the actual API. | |
uint16_t | chipsel |
Node in a linked list of emulators for SPI devices.
const struct spi_emul_api* spi_emul::api |
uint16_t spi_emul::chipsel |
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.
sys_snode_t spi_emul::node |
const struct emul* spi_emul::target |
Target emulator - REQUIRED for all bus emulators.