文件名称:SMBUS
介绍说明--下载内容均来自于网络,请自行研究使用
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
使用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
SMBUS.H
SMBUS.H