Zephyr Project API
3.2.0
A Scalable Open Source RTOS
|
#include <emul.h>
Data Structures | |
union | bus |
Data Fields | |
emul_init_t | init |
const struct device * | dev |
const void * | cfg |
void * | data |
enum emul_bus_type | bus_type |
union emul::bus | bus |
An emulator instance - represents the target emulated device/peripheral that is interacted with through an emulated bus. Instances of emulated bus nodes (e.g. i2c_emul) and emulators (i.e. struct emul) are exactly 1..1
enum emul_bus_type emul::bus_type |
The bus type that the emulator is attached to
const void* emul::cfg |
Emulator-specific configuration data
void* emul::data |
Emulator-specific data
const struct device* emul::dev |
handle to the device for which this provides low-level emulation
emul_init_t emul::init |
function used to initialise the emulator state