代码搜索结果
找到约 10,000 项符合
EEPROM 的代码
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=13
RadioGroup1=0
Ed
eeprom.mp
NOTE: AVR Code addresses are word addresses
All other addresses (including ones in FLASH) are byte addresses
Area Addr Size Decimal Bytes (Attributes)
----------
eeprom.c
//***************FileName:Capature.C***************//
//***************ICCAVR V6.30编译*****************//
#include
#define uchar unsigned char
#define uint unsigned
eeprom.h
/*
* This file contains the data defintions that are stored in EEPROM
*/
#ifndef DECLARE // if DECLARE is not defined
#define DECLARE extern // variables are ex
eeprom.c
/*
* This file contains the frame-work for the EEPROM Memory Classes
*/
#pragma ORDER // keep variables in order of definition
#pragma USERCLASS (HDATA = eeprom) // u
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.lst
C51 COMPILER V8.16 EEPROM 12/10/2009 11:17:10 PAGE 1
C51 COMPILER V8.16, COMPILATION OF MODULE EEPROM
OBJECT MODULE PLACED IN
eeprom.src
; .\eeprom.SRC generated from: eeprom.c
; COMPILER INVOKED BY:
; C:\Keil\C51\BIN\C51.EXE eeprom.c LARGE BROWSE DEBUG OBJECTEXTEND SRC(.\eeprom.SRC)
$NOMOD51
NAME EEPROM
CCF2 BIT 0D8H
eeprom.h
#ifndef __EEPROM_H__
#define __EEPROM_H__
#define F_ADDR 0x3000 //AT25128 12K开始存 3份 一共16K
unsigned char FLASH_PageRead(unsigned int addr);
void FLASH_ByteWrite (unsigned int addr, unsigned
eeprom.c
#include "global.h"
#define WREN 6 // 0000 x110,write enable
#define WRDI 4 // 0000 x100,write disable
#define RDSR 5 // 0000 x101,read status register
#define WRSR 1 // 0000 x001,write status r