FD.io VPP  v19.04.4-rc0-5-ge88582fac
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

◆ clock

u32 i2c_bus_t::clock

Definition at line 39 of file i2c.h.

◆ get_bits

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

Definition at line 36 of file i2c.h.

◆ hold_time

f64 i2c_bus_t::hold_time

Definition at line 40 of file i2c.h.

◆ private_data

uword i2c_bus_t::private_data

Definition at line 44 of file i2c.h.

◆ put_bits

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

Definition at line 35 of file i2c.h.

◆ rise_fall_time

f64 i2c_bus_t::rise_fall_time

Definition at line 41 of file i2c.h.

◆ timeout

int i2c_bus_t::timeout

Definition at line 38 of file i2c.h.


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