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