?? flash.h
字號:
/*
* Copyright 2003 by Spectrum Digital Incorporated.
* All rights reserved. Property of Spectrum Digital Incorporated.
*/
/*
* ======== evmdm642_flash.h ========
*
* Interface for the AMD29LV033C Flash on the EVMDM642 board
*/
#ifndef DEC643_FLASH_
#define DEC643_FLASH_
#ifdef __cplusplus
extern "C" {
#endif
#include <csl.h>
/* Flash address definitions */
#define DEC643_FLASH_BASE 0x90000000
#define DEC643_FLASH_CTL555 (DEC643_FLASH_BASE + 0x555)
#define DEC643_FLASH_CTLAAA (DEC643_FLASH_BASE + 0xaaa)
#define DEC643_FLASH_SECTORSIZE 0x010000
#define DEC643_FLASH_SECTORS 0x8
#define DEC643_FLASH_PAGES 0x8
#define DEC643_FLASH_PAGESIZE 0x080000
#define DEC643_FLASH_SIZE 0x400000
#define EVMDM642_FLASH_SUPPORT 1
/* Erase a segment of Flash memory */
void DEC643_FLASH_erase(Uint32 start, Uint32 length);
/* Read data from a range in Flash */
void DEC643_FLASH_read(Uint32 src, Uint32 dst, Uint32 length);
/* Write data to a data range in Flash */
void DEC643_FLASH_write(Uint32 src, Uint32 dst, Uint32 length);
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -