Introduction - If you have any usage issues, please Google them yourself
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
Packet : 5956453smbus.rar filelist
SMBUS.C
SMBUS.H