Zephyr API Documentation  3.0.0
A Scalable Open Source RTOS
3.0.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
i2c_emul.h File Reference

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

#include <zephyr/types.h>
#include <device.h>
#include <drivers/emul.h>

Go to the source code of this file.

Data Structures

struct  i2c_emul
 
struct  i2c_emul_api
 

Typedefs

typedef int(* i2c_emul_transfer_t) (struct i2c_emul *emul, struct i2c_msg *msgs, int num_msgs, int addr)
 

Functions

int i2c_emul_register (const struct device *dev, const char *name, struct i2c_emul *emul)
 

Detailed Description

Public APIs for the I2C emulation drivers.