Go to the documentation of this file.
26 #define I2C_PCF8584_H 1
29 #define I2C_PCF_PIN 0x80
30 #define I2C_PCF_ESO 0x40
31 #define I2C_PCF_ES1 0x20
32 #define I2C_PCF_ES2 0x10
33 #define I2C_PCF_ENI 0x08
34 #define I2C_PCF_STA 0x04
35 #define I2C_PCF_STO 0x02
36 #define I2C_PCF_ACK 0x01
38 #define I2C_PCF_START (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)
39 #define I2C_PCF_STOP (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_STO | I2C_PCF_ACK)
40 #define I2C_PCF_REPSTART ( I2C_PCF_ESO | I2C_PCF_STA | I2C_PCF_ACK)
41 #define I2C_PCF_IDLE (I2C_PCF_PIN | I2C_PCF_ESO | I2C_PCF_ACK)
46 #define I2C_PCF_INI 0x40
47 #define I2C_PCF_STS 0x20
48 #define I2C_PCF_BER 0x10
49 #define I2C_PCF_AD0 0x08
50 #define I2C_PCF_LRB 0x08
51 #define I2C_PCF_AAS 0x04
52 #define I2C_PCF_LAB 0x02
53 #define I2C_PCF_BB 0x01
56 #define I2C_PCF_CLK3 0x00
57 #define I2C_PCF_CLK443 0x10
58 #define I2C_PCF_CLK6 0x14
59 #define I2C_PCF_CLK 0x18
60 #define I2C_PCF_CLK12 0x1c
63 #define I2C_PCF_TRNS90 0x00
64 #define I2C_PCF_TRNS45 0x01
65 #define I2C_PCF_TRNS11 0x02
66 #define I2C_PCF_TRNS15 0x03
73 #define I2C_PCF_OWNADR 0
74 #define I2C_PCF_INTREG I2C_PCF_ES2
75 #define I2C_PCF_CLKREG I2C_PCF_ES1