flash.h.bak

来自「dsp中的flash烧写」· BAK 代码 · 共 29 行

BAK
29
字号
/*******************************************************************************
	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);
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?