|  | WE310F5
    39.00.000
    | 
I2C library implementation. More...
Go to the source code of this file.
| Data Structures | |
| struct | M2MB_I2C_CFG_T | 
| enum | M2MB_I2C_IOCTL_REQUEST { M2MB_I2C_IOCTL_SET_CFG, M2MB_I2C_IOCTL_GET_CFG } | 
| enum | M2MB_I2C_MODE { M2MB_I2C_MODE_SLAVE = 0, M2MB_I2C_MODE_MASTER = 1 } | 
| enum | M2MB_I2C_ADDR { M2MB_I2C_ADDR_7BIT = 0, M2MB_I2C_ADDR_10BIT = 1 } | 
| typedef enum M2MB_I2C_IOCTL_REQUEST | M2MB_I2C_IOCTL_REQUEST_T | 
| typedef enum M2MB_I2C_MODE | M2MB_I2C_MODE_T | 
| typedef enum M2MB_I2C_ADDR | M2MB_I2C_ADDR_T | 
| INT32 | m2mb_i2c_open (const CHAR *path, INT32 flags,...) | 
| Open an I2C device.  More... | |
| INT32 | m2mb_i2c_close (INT32 fd) | 
| Closes an I2C device.  More... | |
| INT32 | m2mb_i2c_ioctl (INT32 fd, M2MB_I2C_IOCTL_REQUEST_T request,...) | 
| Configure the I2C device.  More... | |
| SSIZE_T | m2mb_i2c_read (INT32 fd, void *buf, SSIZE_T nbyte) | 
| Read the I2C device.  More... | |
| SSIZE_T | m2mb_i2c_write (INT32 fd, const void *buf, SSIZE_T nbyte) | 
| Write to I2C device.  More... | |
| INT32 | m2mb_i2c_reset (INT32 fd) | 
| Reset the I2C device.  More... | |
I2C library implementation.
we866e4/epl/inc/driver/m2mb_i2c.h
The following functions are implemented: m2mb_i2c_ioctl m2mb_i2c_open m2mb_i2c_read m2mb_i2c_write m2mb_i2c_close
Definition in file m2mb_i2c.h.