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

📄 flash.h

📁 linux下ROMMONITOR,FLASH,MODEM等操作原代码,请需要的朋友下载
💻 H
字号:
/******************************************************************************* * * Filename: flash.h * * Definition of flash control routines supporting AM29LV017/033 chips. * * Revision information: * * 20SEP2004	kb_admin	initial creation * * BEGIN_KBDD_BLOCK * No warranty, expressed or implied, is included with this software.  It is * provided "AS IS" and no warranty of any kind including statutory or aspects * relating to merchantability or fitness for any purpose is provided.  All * intellectual property rights of others is maintained with the respective * owners.  This software is not copyrighted and is intended for reference * only. * END_BLOCK ******************************************************************************/#ifndef _FLASH_H_#define _FLASH_H_#define FLASH_BASE		0x10000000// #define FLASH_SIZE		(4 * 1024 * 1024)#define FLASH_SIZE		(2 * 1024 * 1024)#define FLASH_MAX		(FLASH_BASE + FLASH_SIZE)#define FLASH_SECTOR_SIZE	(64 * 1024)#define FLASH_SECTORS		(FLASH_SIZE/FLASH_SECTOR_SIZE)extern void EraseFlashSector(unsigned start, unsigned end);extern void EraseFlashChip(void);extern void ProgramFlash(unsigned target, unsigned source, unsigned size);#endif /* _FLASH_H_ */

⌨️ 快捷键说明

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