📄 dec6713_flash.h
字号:
/********************************************************************************\
\*DEC6713_FLASH.H v1.00 *
* Copyright 2004 by SEED Electronic Technology Ltd.
* All rights reserved. Property of SEED Electronic Technology Ltd. *
* Designed by: Hongshuai.Li *
\********************************************************************************/
#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 Uint16 *FLASH_5555 = (volatile Uint16 *) (0x90000000+(0x5555<<1));
volatile Uint16 *FLASH_2AAA = (volatile Uint16 *) (0x90000000+(0x2AAA<<1));
/********************************************************************************/
Uint32 Flash_Erase(Uint32 addr,Uint16 type);
void Flash_Readm(Uint32 addr,Uint16 *ptr,Uint32 length);
Uint32 Flash_Reads(Uint32 addr);
void Flash_Writem(Uint32 addr,Uint16 *ptr,Uint32 length);
void Flash_Writes(Uint32 addr,Uint16 data);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -