Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
i2c-algo-pcf.h File Reference

Go to the source code of this file.

Macros

#define I2C_PCF_PIN   0x80
 
#define I2C_PCF_ESO   0x40
 
#define I2C_PCF_ES1   0x20
 
#define I2C_PCF_ES2   0x10
 
#define I2C_PCF_ENI   0x08
 
#define I2C_PCF_STA   0x04
 
#define I2C_PCF_STO   0x02
 
#define I2C_PCF_ACK   0x01
 
#define I2C_PCF_START   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)
 
#define I2C_PCF_STOP   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK)
 
#define I2C_PCF_REPSTART   ( I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)
 
#define I2C_PCF_IDLE   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)
 
#define I2C_PCF_INI   0x40 /* 1 if not initialized */
 
#define I2C_PCF_STS   0x20
 
#define I2C_PCF_BER   0x10
 
#define I2C_PCF_AD0   0x08
 
#define I2C_PCF_LRB   0x08
 
#define I2C_PCF_AAS   0x04
 
#define I2C_PCF_LAB   0x02
 
#define I2C_PCF_BB   0x01
 
#define I2C_PCF_CLK3   0x00
 
#define I2C_PCF_CLK443   0x10
 
#define I2C_PCF_CLK6   0x14
 
#define I2C_PCF_CLK   0x18
 
#define I2C_PCF_CLK12   0x1c
 
#define I2C_PCF_TRNS90   0x00 /* 90 kHz */
 
#define I2C_PCF_TRNS45   0x01 /* 45 kHz */
 
#define I2C_PCF_TRNS11   0x02 /* 11 kHz */
 
#define I2C_PCF_TRNS15   0x03 /* 1.5 kHz */
 
#define I2C_PCF_OWNADR   0
 
#define I2C_PCF_INTREG   I2C_PCF_ES2
 
#define I2C_PCF_CLKREG   I2C_PCF_ES1
 

Macro Definition Documentation

#define I2C_PCF_AAS   0x04

Definition at line 51 of file i2c-algo-pcf.h.

#define I2C_PCF_ACK   0x01

Definition at line 36 of file i2c-algo-pcf.h.

#define I2C_PCF_AD0   0x08

Definition at line 49 of file i2c-algo-pcf.h.

#define I2C_PCF_BB   0x01

Definition at line 53 of file i2c-algo-pcf.h.

#define I2C_PCF_BER   0x10

Definition at line 48 of file i2c-algo-pcf.h.

#define I2C_PCF_CLK   0x18

Definition at line 59 of file i2c-algo-pcf.h.

#define I2C_PCF_CLK12   0x1c

Definition at line 60 of file i2c-algo-pcf.h.

#define I2C_PCF_CLK3   0x00

Definition at line 56 of file i2c-algo-pcf.h.

#define I2C_PCF_CLK443   0x10

Definition at line 57 of file i2c-algo-pcf.h.

#define I2C_PCF_CLK6   0x14

Definition at line 58 of file i2c-algo-pcf.h.

#define I2C_PCF_CLKREG   I2C_PCF_ES1

Definition at line 75 of file i2c-algo-pcf.h.

#define I2C_PCF_ENI   0x08

Definition at line 33 of file i2c-algo-pcf.h.

#define I2C_PCF_ES1   0x20

Definition at line 31 of file i2c-algo-pcf.h.

#define I2C_PCF_ES2   0x10

Definition at line 32 of file i2c-algo-pcf.h.

#define I2C_PCF_ESO   0x40

Definition at line 30 of file i2c-algo-pcf.h.

#define I2C_PCF_IDLE   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)

Definition at line 41 of file i2c-algo-pcf.h.

#define I2C_PCF_INI   0x40 /* 1 if not initialized */

Definition at line 46 of file i2c-algo-pcf.h.

#define I2C_PCF_INTREG   I2C_PCF_ES2

Definition at line 74 of file i2c-algo-pcf.h.

#define I2C_PCF_LAB   0x02

Definition at line 52 of file i2c-algo-pcf.h.

#define I2C_PCF_LRB   0x08

Definition at line 50 of file i2c-algo-pcf.h.

#define I2C_PCF_OWNADR   0

Definition at line 73 of file i2c-algo-pcf.h.

#define I2C_PCF_PIN   0x80

Definition at line 29 of file i2c-algo-pcf.h.

#define I2C_PCF_REPSTART   ( I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)

Definition at line 40 of file i2c-algo-pcf.h.

#define I2C_PCF_STA   0x04

Definition at line 34 of file i2c-algo-pcf.h.

#define I2C_PCF_START   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)

Definition at line 38 of file i2c-algo-pcf.h.

#define I2C_PCF_STO   0x02

Definition at line 35 of file i2c-algo-pcf.h.

#define I2C_PCF_STOP   (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK)

Definition at line 39 of file i2c-algo-pcf.h.

#define I2C_PCF_STS   0x20

Definition at line 47 of file i2c-algo-pcf.h.

#define I2C_PCF_TRNS11   0x02 /* 11 kHz */

Definition at line 65 of file i2c-algo-pcf.h.

#define I2C_PCF_TRNS15   0x03 /* 1.5 kHz */

Definition at line 66 of file i2c-algo-pcf.h.

#define I2C_PCF_TRNS45   0x01 /* 45 kHz */

Definition at line 64 of file i2c-algo-pcf.h.

#define I2C_PCF_TRNS90   0x00 /* 90 kHz */

Definition at line 63 of file i2c-algo-pcf.h.