RTEMS  5.1
Data Structures | Macros

RTEMS Port of Linux I2C Device API. More...

#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  i2c_smbus_ioctl_data
 Argument type for I2C_SMBUS IO control call. More...
 
struct  i2c_rdwr_ioctl_data
 Argument type for I2C_RDWR IO control call. More...
 

Macros

#define I2C_RDRW_IOCTL_MAX_MSGS   42
 Maximum count of messages for one IO control call.
 
I2C IO Control Commands
#define I2C_RETRIES   0x701
 Sets the count of transfer retries in case a slave device does not acknowledge a transaction. More...
 
#define I2C_TIMEOUT   0x702
 Sets the transfer timeout in 10ms units. More...
 
#define I2C_SLAVE   0x703
 Sets the slave address. More...
 
#define I2C_SLAVE_FORCE   0x706
 Forces setting the slave address. More...
 
#define I2C_TENBIT   0x704
 Enables 10-bit addresses if argument is non-zero, otherwise disables 10-bit addresses. More...
 
#define I2C_FUNCS   0x705
 Gets the I2C controller functionality information. More...
 
#define I2C_RDWR   0x707
 Performs a combined read/write transfer. More...
 
#define I2C_PEC   0x708
 Enables System Management Bus (SMBus) Packet Error Checking (PEC) if argument is non-zero, otherwise disables PEC. More...
 
#define I2C_SMBUS   0x720
 Performs an SMBus transfer. More...
 

Detailed Description

RTEMS Port of Linux I2C Device API.