Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
Node in a linked list of emulators for I2C devices. More...
#include <i2c_emul.h>
Data Fields | |
sys_snode_t | node |
const struct emul * | target |
Target emulator - REQUIRED for all emulated bus nodes of any type. | |
const struct i2c_emul_api * | api |
struct i2c_emul_api * | mock_api |
A mock API that if not NULL will take precedence over the actual API. | |
uint16_t | addr |
Node in a linked list of emulators for I2C devices.
uint16_t i2c_emul::addr |
const struct i2c_emul_api* i2c_emul::api |
struct i2c_emul_api* i2c_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 i2c_emul::node |
const struct emul* i2c_emul::target |
Target emulator - REQUIRED for all emulated bus nodes of any type.