此软件包包含了模拟I2C C51程序软件包和ZLG7290的C51程序然后包。
软件包的接口界面:
(1) bit ISendByte(uchar sla,uchar c) (无子地址)写单字节数据 (现行地址写)
(2) bit IRcvByte(uchar sla,uchar *c) (无子地址)读单字节数据 (现行地址读)
(3) bit ISendStr(uchar sla,uchar suba,uchar *s,uchar no)(有子地址)读N字节数据
(4) bit IRcvStr(uchar sla,uchar suba,uchar *s,uchar no) (有子地址)写N字节数据
(5) bit ISendStr(uchar sla,uchar *s,uchar no) (无子地址)写多字节数据
(6) bit IRcvStr(uchar sla,uchar *s,uchar no) (无子地址)读单字节数据
(7) unsigned char ZLG7290_SendData(unsigned char SubAdd,unsigned char Data)
(8) void ZLG7290_SendBuf(unsigned char * disp_buf,unsigned char num)
(9) unsigned char ZLG7290_SendCmd(unsigned char Data1,unsigned char Data2)
(10)unsigned char ZLG7290_GetKey()
标签:
uchar
C51
ISendByte
7290
上传时间:
2013-12-05
上传用户:hongmo