代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.c
#include
/*-----------------------------------------------------------
EEPROM_write :EEPROM单字节写入
输入参数 addr :地址
dd :数据
输出参数 :无
----------------------------------------
eeprom.prj
[Compiler Options]
Edit1=C:\icc\include\
Edit2=C:\icc\lib\
Edit8=
CheckBox1=0
CheckBox2=1
Edit3=
Edit4=
Edit11=16
Edit13=
ComboBox1=0
Edit9=8192
Edit10=512
ComboBox2=0
RadioGroup1=0
Edi
eeprom.h
#ifndef __EEPROM_H
#define __EEPROM_H
/*
** [file]
** eeprom.h
** [purpose]
** conatins the definitions for the Michrchip MCP24LC256 I2C EEPROM
*/
#define MCP24LC256_FIXED_ADDRESS 0xa0
in
eeprom.c
#include "hpa449lib.h"
#include "eeprom.h"
/*
******************************************************************************
** [function]
** EEPromWrite
** [puropse]
** writes data to a Micr
eeprom.h
/*----------------------------------------------------------------------------+
| This source code has been made available to you by IBM on an AS-IS
| basis. Anyone receiving this source
eeprom.c
/*----------------------------------------------------------------------------+
| This source code has been made available to you by IBM on an AS-IS
| basis. Anyone receiving this source
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
#ifndef _EEPROM_H
#define _EEPROM_H
extern void EEPROM_write(unsigned char adr, unsigned char dat);
extern unsigned char EEPROM_read(unsigned char adr);
#endif
eeprom.c
#include
#include
//读/写EEPROM,内部从16地址开始,对外为0地址
void EEPROM_write(unsigned char adr, unsigned char dat)
{
while( EECR & BIT(EEWE) );//第一步:等待EEWE为0
EEARH = 0;
EEARL
eeprom.o
XL
H 1 areas 3 global symbols
M eeprom.c
A text size 20 flags 0
dbfile E:\TWINTI~1\eeprom.c
dbfunc e init_eeprom 0 fV
dbline FFFFFFFF 0
dbline B 0
dbline C 0
dbline FFFFFFFE 4
dbline 0 4
db