PIC16F72-AT24C64读写
时间:11-13
来源:互联网
点击:
}
uchar WIN24C64_read(uint address)
{
uchar i;
start();
writex(0xa0);
clock();
writex(address/256);
clock();
writex(address%256);
clock();
start();
writex(0xa1);
clock();
i=readx();
stop();
delay1(10);
return(i);
}
void WIN24C64_write(uint address,uchar info)
{
start();
writex(0xa0);
clock();
writex(address/256);
clock();
delay1(10);
writex(address%256);
clock();
writex(info);
clock();
stop();
delay1(200);
}
#endif
PIC16F72AT24C64读 相关文章:
- Windows CE 进程、线程和内存管理(11-09)
- RedHatLinux新手入门教程(5)(11-12)
- uClinux介绍(11-09)
- openwebmailV1.60安装教学(11-12)
- Linux嵌入式系统开发平台选型探讨(11-09)
- Windows CE 进程、线程和内存管理(二)(11-09)