28 #ifndef M2M_M2MB_I2C_API_H 29 #define M2M_M2MB_I2C_API_H
enum M2MB_I2C_IOCTL_REQUEST M2MB_I2C_IOCTL_REQUEST_T
INT32 m2mb_i2c_close(INT32 fd)
Closes an I2C device.
SSIZE_T m2mb_i2c_write(INT32 fd, const void *buf, SSIZE_T nbyte)
Write to I2C device.
UINT32 slave_Max_Clock_Stretch_Us
M2MB_I2C_ADDR_T i2c_addressing
UINT32 core_Configuration1
INT32 m2mb_i2c_reset(INT32 fd)
Reset the I2C device.
INT32 m2mb_i2c_ioctl(INT32 fd, M2MB_I2C_IOCTL_REQUEST_T request,...)
Configure the I2C device.
SSIZE_T m2mb_i2c_read(INT32 fd, void *buf, SSIZE_T nbyte)
Read the I2C device.
UINT32 core_Configuration2
enum M2MB_I2C_ADDR M2MB_I2C_ADDR_T
enum M2MB_I2C_MODE M2MB_I2C_MODE_T
INT32 m2mb_i2c_open(const CHAR *path, INT32 flags,...)
Open an I2C device.