FD.io VPP  v16.09
Vector Packet Processing
i2c_bus_t Struct Reference

Data Fields

void(* put_bits )(struct i2c_bus_t *b, int scl, int sda)
void(* get_bits )(struct i2c_bus_t *b, int *scl, int *sda)
int timeout
u32 clock
f64 hold_time
f64 rise_fall_time
uword private_data

Detailed Description

Definition at line 33 of file i2c.h.

Field Documentation

u32 i2c_bus_t::clock

Definition at line 39 of file i2c.h.

void(* i2c_bus_t::get_bits) (struct i2c_bus_t *b, int *scl, int *sda)

Definition at line 36 of file i2c.h.

f64 i2c_bus_t::hold_time

Definition at line 40 of file i2c.h.

uword i2c_bus_t::private_data

Definition at line 44 of file i2c.h.

void(* i2c_bus_t::put_bits) (struct i2c_bus_t *b, int scl, int sda)

Definition at line 35 of file i2c.h.

f64 i2c_bus_t::rise_fall_time

Definition at line 41 of file i2c.h.

int i2c_bus_t::timeout

Definition at line 38 of file i2c.h.

The documentation for this struct was generated from the following file: