flashdev.c
来自「基于AT91SAM7_64芯片的flash编程算法程序」· C语言 代码 · 共 29 行
C
29 行
/***********************************************************************/
/* This file is part of the ARM Toolchain package */
/* Copyright KEIL ELEKTRONIK GmbH 2003 - 2006 */
/***********************************************************************/
/* */
/* FlashDev.C: Device Description for AT91SAM7 64kB Flash */
/* */
/***********************************************************************/
#include "..\FlashOS.H" // FlashOS Structures
struct FlashDevice const FlashDevice = {
FLASH_DRV_VERS, // Driver Version, do not modify!
"AT91SAM7 64kB Flash", // Device Name
ONCHIP, // Device Type
0x00100000, // Device Start Address
0x00010000, // Device Size in Bytes (64kB)
128, // Programming Page Size
0, // Reserved, must be 0
0xFF, // Initial Content of Erased Memory
100, // Program Page Timeout 100 mSec
1000, // Erase Sector Timeout 1000 mSec
// Specify Size and Address of Sectors
0x0080, 0x000000, // Sector Size 128B (512 Sectors)
SECTOR_END
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?