⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 flash.h.bak

📁 SEED6416系列FLASH(SSTVF400A)烧写程序代码
💻 BAK
字号:
/*******************************************************************************
	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 unsigned char* FLASH_5555 = (volatile unsigned char *) 0x64005555;
volatile unsigned char* FLASH_2AAA = (volatile unsigned char *) 0x64002AAA;

Uint32 flash_erase(Uint32 addr,unsigned char type);
void flash_readm(Uint32 addr,unsigned char *ptr,unsigned int length);
Uint32 flash_reads(Uint32 addr);
void flash_writem(Uint32 addr,unsigned char *ptr,unsigned int length);
void flash_writes(Uint32 addr,unsigned char data);

⌨️ 快捷键说明

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