Lines Matching +full:i2c +full:- +full:fast +full:- +full:mode
2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
36 * Data access protocol: Fast Access Sequential Interface (fasi)
37 * Fast access, because of short addressing format (16 instead of 32 bits addr)
38 * Sequential, because of I2C.
48 /*-------- compilation control switches --------------------------------------*/
53 /*-------- Required includes -------------------------------------------------*/
57 /*-------- Defines, configuring the API --------------------------------------*/
98 #error At least one of short- or long-addressing format must be allowed.
112 * + single master mode means no use of repeated starts
113 * + multi master mode means use of repeated starts
119 * + single master means remember memory address between i2c packets
120 * + multimaster means flush memory address between i2c packets
121 * Default is single master, DAP FASI changes multi-master setting silently
131 * Chunk/mode checking
134 * Comments about DRXDAP_MAX_WCHUNKSIZE in single or multi master mode and
139 * In single master mode, data can be written by sending the register address
143 * If ten-bit I2C device addresses are used, the minimum chunk size must be six,
144 * because the I2C device address will then occupy two bytes when writing.
146 * Data in single master mode is transferred as follows:
153 * <S> <devR> --- <P>
155 * In multi-master mode, the data must immediately follow the address (an I2C
157 * 1 <I2C address> + 4 (register address) + 2 (data to send) = 7 bytes (8 if
158 * 10-bit I2C device addresses are used).
160 * The 7-bit or 10-bit i2c address parameters is a runtime parameter.
163 *-------------------------------------------------------------------------------
167 * +----------------+----------------+
168 * | 7b i2c addr | 10b i2c addr |
169 * +----------------+----------------+
171 * ------+--------+-------+--------+-------+
174 * ------+--------+-------+--------+-------+
201 #error DRXDAP_MAX_WCHUNKSIZE must be at least 3 in single master mode
204 #error DRXDAP_MAX_WCHUNKSIZE must be at least 5 in multi master mode
209 #error DRXDAP_MAX_WCHUNKSIZE must be at least 5 in single master mode
212 #error DRXDAP_MAX_WCHUNKSIZE must be at least 7 in multi master mode
235 /*-------- Public API functions ----------------------------------------------*/