As an universal bus technology at present time,I^(2)C has been widely used in the interface between CPU and other devices such as EEPROM,RTC and small LCD.The architecture of I^(2)C driver,the relationship of some imp...As an universal bus technology at present time,I^(2)C has been widely used in the interface between CPU and other devices such as EEPROM,RTC and small LCD.The architecture of I^(2)C driver,the relationship of some important data structure and the operation mechanism of the I^(2)C driver have been analyzed.Finally,by taking an EEPROM chip named AT24C08 as a specific example,the flow of how to develop an I^(2)C 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,I^(2)C has been widely used in the interface between CPU and other devices such as EEPROM,RTC and small LCD.The architecture of I^(2)C driver,the relationship of some important data structure and the operation mechanism of the I^(2)C driver have been analyzed.Finally,by taking an EEPROM chip named AT24C08 as a specific example,the flow of how to develop an I^(2)C device driver is illustrated.In addition,the design of a new driver mode of single device with multi-drivers is realized.