Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
i2c_emul.h File Reference

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

#include <zephyr/types.h>
#include <device.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)
 
uint32_t i2c_emul_get_config (const struct device *dev)
 

Detailed Description

Public APIs for the I2C emulation drivers.