代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
eeprom.c
//***************FileName:Capature.C***************//
//***************ICCAVR V6.30编译*****************//
#include
#define uchar unsigned char
#define uint unsigned
eeprom.h
/*
* Copyright 2005 by SSD.
* All rights reserved. Property of SSD.
*/
/*
* ======== dm642_eeprom.h ========
*
* Interface for the X126 I2C EEPROM on the DM642 board
*/
#ifndef
eeprom.h
/* credit winbond-840.c
*/
#include
struct eeprom_ops {
void (*set_cs)(void *ee);
void (*clear_cs)(void *ee);
};
#define EEPOL_EEDI 0x01
#define EEPOL_EEDO 0x02
#define EEPOL_EECLK 0x0
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
/*******************************************************************
*
* DESCRIPTION: eeprom.c - module for reading and writing EEPROM
*
* AUTHOR: O. Kessel-Deynet
*
* Lig
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.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.inc
;#####################################
;Charge_PWM_Deal, Charge_Control pin
;#####################################
;Function: Test and change Charge_Statue when A/D one CH cycle is over.
;Paramete