Go to the source code of this file.
|
static void | i2c_delay (i2c_bus_t *b, f64 timeout) |
|
static void | i2c_wait_for_scl (i2c_bus_t *b) |
|
static void | i2c_start (i2c_bus_t *b) |
|
static void | i2c_stop (i2c_bus_t *b) |
|
static void | i2c_write_bit (i2c_bus_t *b, int sda) |
|
static void | i2c_read_bit (i2c_bus_t *b, int *sda) |
|
static void | i2c_write_byte (i2c_bus_t *b, u8 data) |
|
static void | i2c_read_byte (i2c_bus_t *b, u8 *data, int ack) |
|
void | vlib_i2c_init (i2c_bus_t *b) |
|
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) |
|
◆ i2c_delay()
Definition at line 20 of file i2c.c.
◆ i2c_read_bit()
static void i2c_read_bit |
( |
i2c_bus_t * |
b, |
|
|
int * |
sda |
|
) |
| |
|
static |
Definition at line 90 of file i2c.c.
◆ i2c_read_byte()
static void i2c_read_byte |
( |
i2c_bus_t * |
b, |
|
|
u8 * |
data, |
|
|
int |
ack |
|
) |
| |
|
static |
◆ i2c_start()
Definition at line 46 of file i2c.c.
◆ i2c_stop()
Definition at line 63 of file i2c.c.
◆ i2c_wait_for_scl()
static void i2c_wait_for_scl |
( |
i2c_bus_t * |
b | ) |
|
|
static |
Definition at line 27 of file i2c.c.
◆ i2c_write_bit()
static void i2c_write_bit |
( |
i2c_bus_t * |
b, |
|
|
int |
sda |
|
) |
| |
|
static |
Definition at line 76 of file i2c.c.
◆ i2c_write_byte()
◆ vlib_i2c_init()
◆ vlib_i2c_read_eeprom()
void vlib_i2c_read_eeprom |
( |
i2c_bus_t * |
bus, |
|
|
u8 |
i2c_addr, |
|
|
u16 |
start_addr, |
|
|
u16 |
length, |
|
|
u8 * |
data |
|
) |
| |
◆ vlib_i2c_xfer()