FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | i2c_msg_t |
struct | i2c_bus_t |
Macros | |
#define | I2C_MSG_FLAG_WRITE 0 |
#define | I2C_MSG_FLAG_READ 1 |
Typedefs | |
typedef struct i2c_bus_t | i2c_bus_t |
Functions | |
void | vlib_i2c_init (i2c_bus_t *bus) |
void | vlib_i2c_xfer (i2c_bus_t *bus, i2c_msg_t *msgs) |
void | vlib_i2c_read_eeprom (i2c_bus_t *bus, u8 i2c_addr, u16 start_addr, u16 length, u8 *data) |
static int | vlib_i2c_bus_timed_out (i2c_bus_t *bus) |
|
inlinestatic |
void vlib_i2c_init | ( | i2c_bus_t * | bus | ) |