|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
16 #ifndef included_vlib_i2c_h
17 #define included_vlib_i2c_h
22 #define I2C_MSG_FLAG_WRITE 0
23 #define I2C_MSG_FLAG_READ 1
static int vlib_i2c_bus_timed_out(i2c_bus_t *bus)
vl_api_address_t start_addr
void(* get_bits)(struct i2c_bus_t *b, int *scl, int *sda)
void vlib_i2c_xfer(i2c_bus_t *bus, i2c_msg_t *msgs)
struct i2c_bus_t i2c_bus_t
vapi_message_desc_t ** msgs
void vlib_i2c_read_eeprom(i2c_bus_t *bus, u8 i2c_addr, u16 start_addr, u16 length, u8 *data)
void(* put_bits)(struct i2c_bus_t *b, int scl, int sda)
void vlib_i2c_init(i2c_bus_t *bus)