![]() |
RTEMS
5.0.0
|
Inter-Integrated Circuit (I2C) Bus Implementation. More...
#include <dev/i2c/i2c.h>#include <rtems/imfs.h>#include <rtems/score/assert.h>#include <fcntl.h>#include <stdlib.h>#include <unistd.h>Functions | |
| int | i2c_dev_register (i2c_dev *dev, const char *dev_path) |
| Registers a device control. More... | |
| void | i2c_dev_destroy (i2c_dev *dev) |
| Destroys a device control. More... | |
| void | i2c_dev_destroy_and_free (i2c_dev *dev) |
| Destroys a device control and frees its memory. More... | |
| int | i2c_dev_init (i2c_dev *dev, const char *bus_path, uint16_t address) |
| Initializes a device control. More... | |
| i2c_dev * | i2c_dev_alloc_and_init (size_t size, const char *bus_path, uint16_t address) |
| Allocates a device control from the heap and initializes it. More... | |
Inter-Integrated Circuit (I2C) Bus Implementation.
1.8.13