代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.h
/*
*CopyRight Reserved? 凯拓科技版权所有 http://www.ktopcn.com
*文件名:EEPROM.h
*描述:提供EEPROM的底层驱动,本模块以I2C为驱动。
*
*版本:v1.0
*作者:ktop
*日期:2004/11/11
*/
#ifndef EEPROM_H
#define EEPROM_H
eeprom.c
/*
*CopyRight Reserved? 凯拓科技版权所有 http://www.ktopcn.com
*文件名:eeprom.c
*描述:提供EEPROM的底层驱动,本模块以I2C为驱动。
*
*版本:v1.0
*作者:ktop
*日期:2004/11/11
*/
#define EEPROM_C
#include "eeprom.h"
eeprom.cmd
/******************************************************************************\
\* SDRAM.cmd V1.00 *\
\* Copyright. 2004 by SEED Electronic Technology LTD.
eeprom.c
/*
create by hzh, 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 volati
eeprom._h
/*
** Header file : rteeprom.h
*/
#ifdef _AVR
/* AVR EEPROM real-time access functions */
#ifndef __RTEEPROM__H
#define __RTEEPROM__H
// real time EEPROM access functions
// these work fo
eeprom._c
/*
** purpose: real-time EEPROM access functions
** version: 1.0
** Author: Laurence Barker
** modified from functions provided with ICCAVR
** originally written by Lars Wicktor
eeprom.c
/*
** purpose: real-time EEPROM access functions
** version: 1.0
** Author: Laurence Barker
** modified from functions provided with ICCAVR
** originally written by Lars Wicktor
eeprom.h
#ifdef EEPROM_GLOBALS
#define EEPROM_EXT
#else
#define EEPROM_EXT extern
#endif
#define P_EeprScl HF_PDR1_P13
#define P_EeprScl_Low HF_PDR1_P13=0
#define P_EeprScl_High HF_PDR1_P13=1
eeprom.c
#define EEPROM_GLOBALS
#include "includes.h"
void Eepr_Start(void)
{
Set_OutPut_P_EeprScl;Set_OutPut_P_EeprSda;
nop();nop();nop();nop();nop();
us_delay(8);
P_EeprSda_High;
us_delay(