Changeset 4951 for i2c/trunk/doc/dev-interface
- Timestamp:
- 10/14/07 13:48:53 (1 year ago)
- Files:
-
- i2c/trunk/doc/dev-interface (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/doc/dev-interface
r3988 r4951 91 91 ioctl(file,I2C_TENBIT,long select) 92 92 Selects ten bit addresses if select not equals 0, selects normal 7 bit 93 addresses if select equals 0. Default 0. 93 addresses if select equals 0. Default 0. This request is only valid 94 if the adapter has I2C_FUNC_10BIT_ADDR. 94 95 95 96 ioctl(file,I2C_PEC,long select) 96 97 Selects SMBus PEC (packet error checking) generation and verification 97 98 if select not equals 0, disables if select equals 0. Default 0. 98 Used only for SMBus transactions. 99 Used only for SMBus transactions. This request only has an effect if the 100 the adapter has I2C_FUNC_SMBUS_PEC; it is still safe if not, it just 101 doesn't have any effect. 99 102 100 103 ioctl(file,I2C_FUNCS,unsigned long *funcs) … … 104 107 105 108 Do combined read/write transaction without stop in between. 106 The argument is a pointer to a struct i2c_rdwr_ioctl_data { 109 Only valid if the adapter has I2C_FUNC_I2C. The argument is 110 a pointer to a 107 111 112 struct i2c_rdwr_ioctl_data { 108 113 struct i2c_msg *msgs; /* ptr to array of simple messages */ 109 114 int nmsgs; /* number of messages to exchange */
