SMBUS

所属分类:嵌入式/单片机/硬件编程
开发工具:Others
文件大小:4KB
下载次数:159
上传日期:2008-05-13 14:17:02
上 传 者ynking
说明:  C8051F020 / 040 等等单片机内部SMBUS总线驱动程序源代码(原创) 使用Keil C51编译环境 程序中没有使用SMBUS中断方式,使用查询中断方式运行,这样程序结构简单,便于扩展其他SMBUS设备. 本程序中带IIC器件驱动,可支持24C01 - 24C512(128字节 - 64K字节)非易失性存储器.只需要先初始化SMBUS,再初始化24Cxx器件的时候给出24Cxx的器件地址/内部地址宽度和器件写分页大小即可. 其中还带IIC总线的RFID射频卡HY502的基本驱动程序. 上述2种器件的驱动可由.H头文件配置启用或禁止. 如需要HY502或有使用中的问题请联系我(Ynking):ynpsps@sina.com
(C8051F020/040 and so on Singlechip SMbus internal bus driver source code (original) The use of environmental procedures Keil C51 compiler does not use SMbus interrupt, use the query interrupted run, this program structure is simple, easy to expand to other SMbus equipment. This proceedings with IIC device driver that supports the 24C01- 24C512 (128 byte- 64K bytes) non-volatile memory. just have to initialize the SMBUS, re-initialize the device when 24Cxx given 24Cxx device address/internal address width and the device can write page size. which IIC bus with RFID basic HY502 RF card driver. the above-mentioned two kinds of device drivers may be. H header file configuration is enabled or prohibited. If you need or have use of HY502 problems please contact me (Ynking): ynpsps@sina.com)

文件列表:
SMBUS.C (10052, 2008-05-13)
SMBUS.H (4958, 2008-05-13)

近期下载者

相关文件


收藏者