![]() |
WL865E4-P
36.07.001
|
I2C library implementation. More...
Go to the source code of this file.
Data Structures | |
struct | M2MB_I2C_CFG_T |
#define | I2C_FLAG_START 0x00000001 |
#define | I2C_FLAG_STOP 0x00000002 |
#define | I2C_FLAG_WRITE 0x00000004 |
#define | I2C_FLAG_READ 0x00000008 |
enum | M2MB_I2C_IOCTL_REQUEST { M2MB_I2C_IOCTL_SET_CFG, M2MB_I2C_IOCTL_GET_CFG } |
typedef enum M2MB_I2C_IOCTL_REQUEST | M2MB_I2C_IOCTL_REQUEST_T |
typedef void * | M2MB_I2C_ID_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, SIZE_T nbyte) |
Read the I2C device. More... | |
SSIZE_T | m2mb_i2c_write (INT32 fd, const void *buf, SIZE_T nbyte) |
Write to 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.