?? flash.h
字號:
/*******************************************************************************
filename: flash.h
designer: 戴展波
date: 2004/09/28
*********************************************************************************/
#define FLASH_UL1 0xAA
#define FLASH_UL2 0x55
#define FLASH_UL3 0x80
#define FLASH_UL4 0xAA
#define FLASH_UL5 0x55
#define FLASH_SECTOR_UL6 0x30
#define FLASH_CHIP_UL6 0x10
#define FLASH_PROGRAM 0xA0
#define SECTOR_SIZE 0x0800
#define BLOCK_SIZE 0x8000
#define CHIP_SIZE 0x40000
volatile Uint32* FLASH_5555 = (volatile Uint32 *) 0x64005555;
volatile Uint32* FLASH_2AAA = (volatile Uint32 *) 0x64002AAA;
Uint32 flash_erase(Uint32 *addr,Uint32 type);
void flash_readm(Uint32 *addr,Uint32 *ptr,Uint32 length);
Uint32 flash_reads(Uint32 *addr);
Uint32 flash_writem(Uint32 *addr,Uint32 *ptr,Uint32 length);
Uint32 flash_writes(Uint32 *addr,Uint32 data);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -