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

📄 flash_nor.ini

📁 STM32所有外设例子程序(需自己修改)
💻 INI
字号:
/******************************************************************************/
/* FLASH_NOR.ini: NOR Initialization File                                     */
/******************************************************************************/
// <<< Use Configuration Wizard in Context Menu >>>                           // 
/******************************************************************************/
/* This file is part of the uVision/ARM development tools.                    */
/* Copyright (c) 2005-2006 Keil Software. All rights reserved.                */
/* This software may only be used under the terms of a valid, current,        */
/* end user licence from KEIL for a compatible version of KEIL software       */
/* development tools. Nothing else gives you the right to use this software.  */
/******************************************************************************/

FUNC void Setup(void) {

  _WDWORD(0x40021014, 0x00000114);   // FSMC clock enable
  _WDWORD(0x40021018, 0x000001FD);   // GPIOD~G clock enable

  _WDWORD(0x40011400, 0x44BB44BB);   // GPIOD config
  _WDWORD(0x40011404, 0xBBBBBBBB);   // GPIOD config
  
  _WDWORD(0x40011800, 0xBBBBB444);   // GPIOE config
  _WDWORD(0x40011804, 0xBBBBBBBB);   // GPIOE config

  _WDWORD(0x40011C00, 0x44BBBBBB);   // GPIOF config
  _WDWORD(0x40011C04, 0xBBBB4444);   // GPIOF config

  _WDWORD(0x40012000, 0x44BBBBBB);   // GPIOG config
  _WDWORD(0x40012004, 0x444444B4);   // GPIOG config

  _WDWORD(0xA0000000, 0x000030DB);   // FSMC config
  _WDWORD(0xA0000008, 0x00001059);   // FSMC config
  _WDWORD(0xA000000C, 0x10000705);   // FSMC config
  _WDWORD(0xA0000104, 0x0FFFFFFF);   // FSMC config
}

Setup();


⌨️ 快捷键说明

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