uClinux eerom驅(qū)動,基于S3C44B0X
上傳時間: 2015-08-29
上傳用戶:Altman
pic18系列單片機與24xxx系列的eerom用I2C讀寫的庫函數(shù),編譯器是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的驅(qū)動程序和應用程序。
上傳時間: 2013-12-11
上傳用戶:海陸空653
93LC66A-B于AT89s52的讀寫程序。93LC66A,93LC66B是4K的eerom.
上傳時間: 2016-06-08
上傳用戶:氣溫達上千萬的
這是C8051F020單片機讀、擦、寫串行eerom芯片M25P40(4M)的驅(qū)動程序。全部為自己根據(jù)25p40的datasheet編寫的,都能夠成功使用。M25P40容量大,價格便宜,SPI接口,與8051單片機接口方便。
標簽: C8051F020 datasheet M25P40 25p40
上傳時間: 2017-05-29
上傳用戶:熊少鋒
端點批量傳輸 eerom的讀寫 固件自動下載 USB標準請求 GPIF單字節(jié)讀寫 GPIF_FIFO讀寫 Led顯示與鍵盤掃描等
上傳時間: 2013-12-01
上傳用戶:dyctj
#include <at24c01a.h>/*************************************************向24C01A寫入一個字節(jié)輸入:E2ROM地址,字節(jié)數(shù)據(jù)******************************************************/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();}/**********************************發(fā)送開始*****************************************/void start(void){a_scl=1;a_sda=1;a_sda=0;a_scl=0;a_scl=1;}/********************************************發(fā)送停止*******************************************/void stop(void){a_scl=0;a_sda=0;a_scl=1;a_sda=1;} /*********************************************發(fā)送反饋************************************************/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)}/**************************************發(fā)送無反饋********************************************/bit noack(void){int a_ack;a_scl=1;a_scl=1;a_scl=0;}/*******************************************發(fā)送****************************************************/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讀一個字節(jié);輸入:eerom地址;輸出:eerom數(shù)據(jù);********************************************/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協(xié)議通信程序,能讀寫eerom、實時時鐘,使用方便,可靠!
上傳時間: 2016-09-22
上傳用戶:ggwz258