文件名称:STM32--II--EEPROM

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2014-03-26
  • 文件大小:
  • 4.01mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • MRw***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

根据24c02datasheet里的IIC总线读写时序,利用stm32单片机内部IIC总线,对2kb的EEPROM进行读写。代码主要包括对单片机内部设置及外部IO口的初始化,EEPROM的写字节和读字节操作的驱动程序。通过向地址255里写入55H来检测EEPROM是否处于正常状态,如果正常,那么向EEPROM中写入WarShipSTM32 IIC TEST,然后再将其读出,并通过2.8寸LCD进行显示。代码已经验证通过,

程序是通过ST官方给的库函数进行编写。-According 24c02datasheet in the IIC bus read and write timing, use of stm32 SCM internal IIC bus, on 2kb of EEPROM read and write. Including the internal code set and initialize the external microcontroller IO port, EEPROM write byte and byte read driver. By writing to the address 55H 255 years to detect EEPROM is in a normal state, if normal, then write to the EEPROM WarShipSTM32 IIC TEST, then it reads through 2.8-inch LCD display. Code has been validated, the procedure is performed by the library functions to write to the official ST.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





实验22 IIC调试实验\CORE

...................\....\core_cm3.c

...................\....\core_cm3.h

...................\....\startup_stm32f10x_hd.s

...................\....\startup_stm32f10x_md.s

...................\HARDWARE

...................\........\24CXX

...................\........\.....\24cxx.c

...................\........\.....\24cxx.h

...................\........\IIC

...................\........\...\myiic.c

...................\........\...\myiic.h

...................\........\KEY

...................\........\...\key.c

...................\........\...\key.h

...................\........\LCD

...................\........\...\FONT.H

...................\........\...\ILI93xx.c

...................\........\...\LCD.h

...................\........\LED

...................\........\...\led.c

...................\........\...\led.h

...................\keilkilll.bat

...................\OBJ

...................\...\24cxx.__i

...................\...\24cxx.crf

...................\...\24cxx.d

...................\...\24cxx.o

...................\...\core_cm3.crf

...................\...\core_cm3.d

...................\...\core_cm3.o

...................\...\delay.__i

...................\...\delay.crf

...................\...\delay.d

...................\...\delay.o

...................\...\ExtDll.iex

...................\...\ili93xx.crf

...................\...\ili93xx.d

...................\...\ili93xx.o

...................\...\key.__i

...................\...\key.crf

...................\...\key.d

...................\...\key.o

...................\...\lcd.__i

...................\...\lcd.crf

...................\...\lcd.d

...................\...\led.__i

...................\...\led.crf

...................\...\led.d

...................\...\led.o

...................\...\main.crf

...................\...\main.d

...................\...\main.o

...................\...\misc.__i

...................\...\misc.crf

...................\...\misc.d

...................\...\misc.o

...................\...\myiic.__i

...................\...\myiic.crf

...................\...\myiic.d

...................\...\myiic.o

...................\...\startup_stm32f10x_hd._ia

...................\...\startup_stm32f10x_hd.o

...................\...\stm32f10x_flash.__i

...................\...\stm32f10x_flash.crf

...................\...\stm32f10x_flash.d

...................\...\stm32f10x_flash.o

...................\...\stm32f10x_fsmc.__i

...................\...\stm32f10x_fsmc.crf

...................\...\stm32f10x_fsmc.d

...................\...\stm32f10x_fsmc.o

...................\...\stm32f10x_gpio.__i

...................\...\stm32f10x_gpio.crf

...................\...\stm32f10x_gpio.d

...................\...\stm32f10x_gpio.o

...................\...\stm32f10x_it.__i

...................\...\stm32f10x_it.crf

...................\...\stm32f10x_it.d

...................\...\stm32f10x_it.o

...................\...\stm32f10x_rcc.__i

...................\...\stm32f10x_rcc.crf

...................\...\stm32f10x_rcc.d

...................\...\stm32f10x_rcc.o

...................\...\stm32f10x_tim.__i

...................\...\stm32f10x_tim.crf

...................\...\stm32f10x_tim.d

...................\...\stm32f10x_tim.o

...................\...\stm32f10x_usart.__i

...................\...\stm32f10x_usart.crf

...................\...\stm32f10x_usart.d

...................\...\stm32f10x_usart.o

...................\...\sys.__i

...................\...\sys.crf

...................\...\sys.d

...................\...\sys.o

...................\...\system_stm32f10x.__i

...................\...\system_stm32f10x.crf

...................\...\system_stm32f10x.d

...................\...\system_stm32f10x.o

...................\...\usart.__i

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org