代码搜索结果
找到约 10,000 项符合
Flash 的代码
flash.bld
#!build
default:
program
:language=c
:elxr_map_option=nomap
:arm_option=thumb_code
:arm_option=thumb_lib
:auto_mvc=false
:xfputype=none
:arm_cputype=arm7tm
:optimizestrategy=space
flash.c
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you lic
flash.c
#include "flash.h"
#include "util.h"
struct FlashFileHandle fileHandle;
int flashClose()
{
return 1;
}
int flashOpen(const char* address)
{
fileHandle.start = (char*)stringToInt(add
flash.h
#ifndef FLASH_H
#define FLASH_H
struct FlashFileHandle
{
char* start;
char* current;
};
int flashClose();
int flashOpen(const char* address);
int flashRead(void* buffer, int size);
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define
flash.c
#include
#include
#include
#include "..\inc\drv\flash.h"
#include "..\startup\44b.h"
#include "..\inc\def.h"
extern void __RdPage528(U8 *); /*these two function are wr
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define