As an universal bus technology at present time, I2C has been widely used in the interface between CPU and other devices such as EEPROM, RTC and small LCD. The architecture of I2C driver, the relationship of some impor...As an universal bus technology at present time, I2C has been widely used in the interface between CPU and other devices such as EEPROM, RTC and small LCD. The architecture of I2C driver, the relationship of some important data structure and the operation mechanism of the I2C driver have been analyzed. Finally, by taking an EEPROM chip named AT24C08 as a specific example, the flow of how to develop an I2C device driver is illustrated. In addition, the design of a new driver mode of single device with multi-drivers is realized.展开更多
文摘As an universal bus technology at present time, I2C has been widely used in the interface between CPU and other devices such as EEPROM, RTC and small LCD. The architecture of I2C driver, the relationship of some important data structure and the operation mechanism of the I2C driver have been analyzed. Finally, by taking an EEPROM chip named AT24C08 as a specific example, the flow of how to develop an I2C device driver is illustrated. In addition, the design of a new driver mode of single device with multi-drivers is realized.