代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
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.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
#define SLV_ADDR_CAMERA 0x5a
void m
eeprom.c
/*
eeprom_is_ready() //EEPROM 忙检测(返回EEWE 位)
eeprom_busy_wait() //查询等待EEPROM 准备就绪
uint8_t eeprom_read_byte (const uint8_t *addr) //从指定地址读一字节
uint16_t eeprom_read_word (const uint16_t *addr) //从指定地址
eeprom.c
#include "p18f87j10.h"
#include "public.h"
#include "eeprom.h"
#include "delays.h"
#include "dwt_lcd_config.h"
#define WRITE 0xA0
#define READ 0xA1
struct EEPARA eepara;
//----------------
eeprom.cmd
/**********************************************************/
/* */
/* LINKER command file for LEAD3 memory map */
/*
eeprom.c
/******************************************************************************/
/* Copyright 2004 by SEED Electronic Technology LTD. */
/* All rights reserved. SEED Electr
eeprom.c
//写一个字节到EEPROM
void write_eeprom(unsigned char data,unsigned int address)
{
while(EECR&(1
eeprom.h
void EEWrite(unsigned char Adr,unsigned char Data)
{
EEprom[Adr]=Data;
}
unsigned char EERead(unsigned char Adr)
{
unsigned char data;
data=EEprom[Adr];
return data;
}