文件名称:I2C(EEPROM)
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- 马**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该驱动程序库包含了I2C总线基本时序以及AT24C系列EEPROM的读写函数。
还包含了常用数据格式变量的保存、读取函数。除了字节读写之外,还可以很方便的向EEPROM里写入和读出整型、浮点数、长整型格式的数据。
要使用该库函数,需要将本文件(AT24C02.c)添加进工程,并在需要调用函数的文件开头处包含"AT24C02.h"
演示程序向AT24C02存储器内部保存1字节、整型数据、长整型数据和
浮点型数据,再将他们依次读出,结果用超级终端显示。如果硬件正确,
屏幕的显示将和存入数值一致。-The driver repository contains basic timing and AT24C I2C bus EEPROM series and function.
Also contains a common data format of variables, read function. Besides, still can read bytes
With very convenient to EEPROM in written and read an integer, floating-point and long integer data formats.
To use this library function, need to be AT24C02 (c), documents, and add to the project document begins to a function call in AT24C02 contain "h". AT24C02 demo internal storage, preservation 1 byte data, long integer data and
Floating point Numbers, then they will turn out, with super terminal display results. If correct, the display screen hardware and deposit numerical consistent.
还包含了常用数据格式变量的保存、读取函数。除了字节读写之外,还可以很方便的向EEPROM里写入和读出整型、浮点数、长整型格式的数据。
要使用该库函数,需要将本文件(AT24C02.c)添加进工程,并在需要调用函数的文件开头处包含"AT24C02.h"
演示程序向AT24C02存储器内部保存1字节、整型数据、长整型数据和
浮点型数据,再将他们依次读出,结果用超级终端显示。如果硬件正确,
屏幕的显示将和存入数值一致。-The driver repository contains basic timing and AT24C I2C bus EEPROM series and function.
Also contains a common data format of variables, read function. Besides, still can read bytes
With very convenient to EEPROM in written and read an integer, floating-point and long integer data formats.
To use this library function, need to be AT24C02 (c), documents, and add to the project document begins to a function call in AT24C02 contain "h". AT24C02 demo internal storage, preservation 1 byte data, long integer data and
Floating point Numbers, then they will turn out, with super terminal display results. If correct, the display screen hardware and deposit numerical consistent.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AT24C02.c
AT24C02.h
main.c
PUTCHAR.C
AT24C02.h
main.c
PUTCHAR.C