文件名称:i2c
介绍说明--下载内容来自于网络,使用问题请自行百度
I2C程序函数是采用软件延时的方法产生SCL脉冲,对高晶振频率要作一定的修改(本例是3us机器周期,如果系统对时间要求不是很重要的话,最好在每个单元读写结束时加个延时,测试有子地址器件函数,未测试无地址的器件,适合器件地址和子地址小于256的器件, 大于256的单元的器件可以自己改写)。
I2C procedure function is the method using software delay generated SCL pulses of high frequency crystal oscillator to make certain amendments to C (in this case is 3us machine cycle, if the system time-not very important, then, the best in the the end of each module to add read and write latency, test device subaddress function, not to test nuclear device address for the device address and the subaddress is less than 256 devices, more than 256 unit device can rewrite).
I2C procedure function is the method using software delay generated SCL pulses of high frequency crystal oscillator to make certain amendments to C (in this case is 3us machine cycle, if the system time-not very important, then, the best in the the end of each module to add read and write latency, test device subaddress function, not to test nuclear device address for the device address and the subaddress is less than 256 devices, more than 256 unit device can rewrite).
(系统自动生成,下载前可以参看下载内容)
下载文件列表
i2c.c
说明.txt
说明.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
