- 26
- 0
- 约1万字
- 约 9页
- 2016-12-27 发布于湖北
- 举报
//实验24C02连接在PF口
//WP、A0、A1、A2都接地
#include stm32f10x_flash.h
#include stm32f10x_gpio.h
#include stm32f10x_rcc.h
#define AT24C02 0xa0 //AT24C02 地址
/******************************** 变量定义 ---------------------------------------------------------*/
GPIO_InitTypeDef GPIO_InitStructure; //GPIO
ErrorStatus HSEStartUpStatus;
unsigned char Count1 , Count2;
unsigned int USEC;
static vu32 TimingDelay;
unsigned char Readzfc;
unsigned char pDat[8] = {0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55};
unsigned char R_Dat[8];
/*********************************声明函数 ---------------------------
原创力文档

文档评论(0)