RTEMS
5.1
|
Inter-Integrated Circuit (I2C) Bus Implementation. More...
Functions | |
void | i2c_bus_obtain (i2c_bus *bus) |
Obtains the bus. More... | |
void | i2c_bus_release (i2c_bus *bus) |
Releases the bus. More... | |
int | i2c_bus_transfer (i2c_bus *bus, i2c_msg *msgs, uint32_t msg_count) |
Transfers I2C messages. More... | |
int | i2c_bus_register (i2c_bus *bus, const char *bus_path) |
Registers a bus control. More... | |
void | i2c_bus_destroy (i2c_bus *bus) |
Destroys a bus control. More... | |
void | i2c_bus_destroy_and_free (i2c_bus *bus) |
Destroys a bus control and frees its memory. More... | |
int | i2c_bus_init (i2c_bus *bus) |
Initializes a bus control. More... | |
i2c_bus * | i2c_bus_alloc_and_init (size_t size) |
Allocates a bus control from the heap and initializes it. More... | |
Inter-Integrated Circuit (I2C) Bus Implementation.