RTEMS: cpukit/include/linux/i2c-dev.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros
i2c-dev.h File Reference
Device Drivers » Inter-Integrated Circuit (I2C) Driver » Linux I2C User-Space API

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.
#define | I2C_TIMEOUT 0x702
| Sets the transfer timeout in 10ms units.
#define | I2C_SLAVE 0x703
| Sets the slave address.
#define | I2C_SLAVE_FORCE 0x706
| Forces setting the slave address.
#define | I2C_TENBIT 0x704
| Enables 10-bit addresses if argument is non-zero, otherwise disables 10-bit addresses.
#define | I2C_FUNCS 0x705
| Gets the I2C controller functionality information.
#define | I2C_RDWR 0x707
| Performs a combined read/write transfer.
#define | I2C_PEC 0x708
| Enables System Management Bus (SMBus) Packet Error Checking (PEC) if argument is non-zero, otherwise disables PEC.
#define | I2C_SMBUS 0x720
| Performs an SMBus transfer.

## Detailed Description

RTEMS Port of Linux I2C Device API.