|
SWILIB API (X75)
|
Functions for working with I2C bus.
Usage: #include <swilib.h> or #include <swilib/i2c.h>
Data Structures | |
| struct | I2C_MSG |
| I2C SMBUS message. More... | |
Typedefs | |
| typedef struct I2C_MSG | I2C_MSG |
Functions | |
| int | i2c_transfer (I2C_MSG *msg) |
| Read data from the I2C device (SMBUS). | |
| int | i2c_receive (I2C_MSG *msg) |
| Write data to the I2C device (SMBUS). | |
| struct I2C_MSG |
| int i2c_transfer | ( | I2C_MSG * | msg | ) |