代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
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.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
/*
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2
eeprom.c
/*!*****************************************************************************
*!
*! Implements an interface for i2c compatible eeproms to run under linux.
*! Supports 2k, 8k(?) and 16k. Uses adap
eeprom.h
/* $Id: eeprom.h,v 1.3 1995/11/25 02:31:38 davem Exp $
* eeprom.h: Definitions for the Sun eeprom.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
/* The EEPROM and the Mostek
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.h
/* $Id$
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Public int