uClinux EEROM驱动,基于S3C44B0X
上传时间: 2015-08-29
上传用户:Altman
pic18系列单片机与24xxx系列的EEROM用I2C读写的库函数,编译器是MCC18.
上传时间: 2015-10-03
上传用户:shinesyh
自己看吧 EEROM的
标签: EEROM
上传时间: 2015-10-11
上传用户:refent
AVR microcontrol programme is a EEROM example
标签: microcontrol programme example EEROM
上传时间: 2013-12-18
上传用户:zhuimenghuadie
一个嵌入linux下s3c2410通过i2c读写EEROM的驱动程序和应用程序。
上传时间: 2013-12-11
上传用户:海陆空653
93LC66A-B于AT89s52的读写程序。93LC66A,93LC66B是4K的EEROM.
上传时间: 2016-06-08
上传用户:气温达上千万的
这是C8051F020单片机读、擦、写串行EEROM芯片M25P40(4M)的驱动程序。全部为自己根据25p40的datasheet编写的,都能够成功使用。M25P40容量大,价格便宜,SPI接口,与8051单片机接口方便。
标签: C8051F020 datasheet M25P40 25p40
上传时间: 2017-05-29
上传用户:熊少锋
端点批量传输 EEROM的读写 固件自动下载 USB标准请求 GPIF单字节读写 GPIF_FIFO读写 Led显示与键盘扫描等
上传时间: 2013-12-01
上传用户:dyctj
#include <at24c01a.h>/*************************************************向24C01A写入一个字节输入:E2ROM地址,字节数据******************************************************/void write24c01a(uchar uadd_1,uchar udata_1){sendbyte=0xa0;start();send(sendbyte);if (!ack())continue;send(uadd_1);if (!ack())continue;send(udata_1)if (!ack())continue;stop();}/**********************************发送开始*****************************************/void start(void){a_scl=1;a_sda=1;a_sda=0;a_scl=0;a_scl=1;}/********************************************发送停止*******************************************/void stop(void){a_scl=0;a_sda=0;a_scl=1;a_sda=1;} /*********************************************发送反馈************************************************/bit ack(void){int a_acka_scl=0;a_scl=0;a_scl=0;a_scl=1;a_ack=a_sda;a_scl=0;return(a_ack)}/**************************************发送无反馈********************************************/bit noack(void){int a_ack;a_scl=1;a_scl=1;a_scl=0;}/*******************************************发送****************************************************/void send(uchar undata){uchar i;sendbyte=undatafor(i=8;i>0;i--){a_sda=sendbyte7;a_scl=0;a_scl=1;sendbyte=sendbyte<<1}}/********************************************接受****************************************************/ void receive(void){int i;uchar data;for(i=8;i>0;i--){ a_scl=1;receivebyte7=a_sda;a_scl=0;receivebyte=receivebyte>>1}receivedata=receivebyte;}/********************************************向 24c01a读一个字节;输入:EEROM地址;输出:EEROM数据;********************************************/void read24c01a(uchar counter){receivebyte=0xa1;start();send(receivebyte);if (!ack())continue;send(counter);if (!ack())continue;receive()noack();stop();}
上传时间: 2013-12-23
上传用户:wxhwjf
标准IIC协议通信程序,能读写EEROM、实时时钟,使用方便,可靠!
上传时间: 2016-09-22
上传用户:ggwz258