📄 flash28.h
字号:
/* flash28.h - header for 28FXXX FLASH memory devices */
/* Copyright 1994-2000 Wind River Systems, Inc. */
/*
modification history
--------------------
01h,01feb00,jpd added defs for Intel 28F320, Sharp 28F160S3.
01e,28aug98,jpd added 28F016 defs, including FLASH_WIDTH_SPECIAL_2 version.
01f,03aug99,dat merge from HIT group T2 branch
01e,04may99,cn added 28F016 definitions.
01d,04jul97,jpd added 28F008 definitions.
01c,26jan96,dzb added casts for CMD constants.
01b,24feb94,dzb added device codes for different flash devices.
01a,10feb94,dzb created.
*/
/*
DESCRIPTION
This file contains header information for 28F0X0 FLASH memory devices.
*/
#ifndef __INCflash28h
#define __INCflash28h
#ifdef __cplusplus
extern "C" {
#endif
/* defines */
#define FLASH28_CMD_READ_MEM (FLASH_DEF) 0x00000000
#define FLASH28_CMD_READ_ID (FLASH_DEF) 0x90909090
#define FLASH28_CMD_ERASE_SETUP (FLASH_DEF) 0x20202020
#define FLASH28_CMD_ERASE (FLASH_DEF) 0x20202020
#define FLASH28_CMD_ERASE_VERIFY (FLASH_DEF) 0xa0a0a0a0
#define FLASH28_CMD_PROG_SETUP (FLASH_DEF) 0x40404040
#define FLASH28_CMD_PROG_VERIFY (FLASH_DEF) 0xc0c0c0c0
#define FLASH28_CMD_RESET (FLASH_DEF) 0xffffffff
#define FLASH28F008_CMD_READ_STATUS (FLASH_DEF) 0x70707070
#define FLASH28F008_CMD_CLEAR_STATUS (FLASH_DEF) 0x50505050
#define FLASH28F008_CMD_ERASE (FLASH_DEF) 0xD0D0D0D0
#ifdef FLASH_WIDTH_SPECIAL_2
#define FLASH28F008_STAT_WSMS (FLASH_DEF) 0x00800080
#else
#define FLASH28F008_STAT_WSMS (FLASH_DEF) 0x80808080
#endif /* FLASH_WIDTH_SPECIAL_2 */
#define FLASH28F008_STAT_BWS (FLASH_DEF) 0x10101010
#define FLASH28F008_STAT_EWS (FLASH_DEF) 0x20202020
#define FLASH_28F256 0xa1 /* device code 28F256 */
#define FLASH_28F512 0x25 /* device code 28F512 */
#define FLASH_28F010 0xa7 /* device code 28F010 */
#define FLASH_28F020 0x2a /* device code 28F020 */
#define FLASH_28F008 0xa2 /* device code 28F008 */
#define FLASH_28F016 0xaa /* device code 28F016 */
#define FLASH_28F160 0xd0 /* device code 28F160 */
#define FLASH_28F320 0xd4 /* device code 28F320 */
#define FLASH_29LV033 0xa3 /* device code 29LV033 */
#ifdef __cplusplus
}
#endif
#endif /* __INCflash28h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -