代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.c
/* eeprom.c - EEPROM NVRAM routines */
/* Copyright 1984-2002 Wind River Systems, Inc. */
/*
modification history
--------------------
01f,25jan02,g_h Move EEPROM_DELAY macro to config.h becuase it
eeprom.c
/*
create by , to support wr/rd parameters to/from eeprom
*/
#include "def.h"
#include "2440addr.h"
#include "2440lib.h"
#define SLV_ADDR_24C02 0xa0
void Delay(int ms);
static volatile
eeprom.c
#include
#include "link.h"
//对EEprom进行操作的指令的宏定义
///////////////////////////////////////////////////////////////////////////
//#define EE_SO SO&0x01 /*25045输出*/
#define EE_SI1 SI=1
eeprom.h
unsigned char Write_1Byte(unsigned char wdata,unsigned char dataaddress);
unsigned char Write_NByte(unsigned char * outbuf,unsigned char n,unsigned char dataaddress);
unsigned char Read_1Byte_curren
eeprom.c
#include "IIC.h"
typedef unsigned char uchar;
typedef unsigned int uint;
#define deviceaddress 0xa0 //AT24C02的设备地址
/*******************************************
函数名称:delay_10ms
功 能:延时约6m
eeprom.h
unsigned char Write_1Byte(unsigned char wdata,unsigned char dataaddress);
unsigned char Write_NByte(unsigned char * outbuf,unsigned char n,unsigned char dataaddress);
unsigned char Read_1Byte_curren
eeprom.c
#include "IIC.h"
typedef unsigned char uchar;
typedef unsigned int uint;
#define deviceaddress 0xa0 //AT24C02的设备地址
/*******************************************
函数名称:delay_10ms
功 能:延时约6m
eeprom.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="$(Install_dir)\boards\davincievm\examples\eeprom\"
ProjectType=Executable
CPUFamily=T
eeprom.cmd
/*
* Copyright 2005 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*
* Not for distribution.
*/
/*
* Linker command file for Da