RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Functions

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.
 
void i2c_dev_destroy (i2c_dev *dev)
 Destroys a device control.
 
void i2c_dev_destroy_and_free (i2c_dev *dev)
 Destroys a device control and frees its memory.
 
int i2c_dev_init (i2c_dev *dev, const char *bus_path, uint16_t address)
 Initializes a device control.
 
i2c_devi2c_dev_alloc_and_init (size_t size, const char *bus_path, uint16_t address)
 Allocates a device control from the heap and initializes it.
 

Detailed Description

Inter-Integrated Circuit (I2C) Bus Implementation.