• 大小: 2.2MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-10
  • 语言: 其他
  • 标签: STM32  ROM读写  

资源简介

STM32F103C8T6 片内FLASH 读写例程 编程环境 MDK4 可从串口进行操作读写FLASH

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    misc.c
  * @author  MCD Application Team
  * @version V3.6.1
  * @date    05-March-2012
  * @brief   This file provides all the miscellaneous firmware functions (add-on
  *          to CMSIS functions).
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT 2012 STMicroelectronics


  *
  * Licensed under MCD-ST Liberty SW License Agreement V2 (the “License“);
  * You may not use this file except in compliance with the License.
  * You may obtain a copy of the License at:
  *
  *        http://www.st.com/software_license_agreement_liberty_v2
  *
  * Unless required by applicable law or agreed to in writing software 
  * distributed under the License is distributed on an “AS IS“ BASIS 
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
  ******************************************************************************
  */

/* Includes ------------------------------------------------------------------*/
#include “misc.h“

/** @addtogroup STM32F10x_StdPeriph_Driver
  * @{
  */

/** @defgroup MISC 
  * @brief MISC driver modules
  * @{
  */

/** @defgroup MISC_Private_TypesDefinitions
  * @{
  */

/**
  * @}
  */ 

/** @defgroup MISC_Private_Defines
  * @{
  */

#define AIRCR_VECTKEY_MASK    ((uint32_t)0x05FA0000)
/**
  * @}
  */

/** @defgroup MISC_Private_Macros
  * @{
  */

/**
  * @}
  */

/** @defgroup MISC_Private_Variables
  * @{
  */

/**
  * @}
  */

/** @defgroup MISC_Private_FunctionPrototypes
  * @{
  */

/**
  * @}
  */

/** @defgroup MISC_Private_Functions
  * @{
  */

/**
  * @brief  Configures the priority grouping: pre-emption priority and subpriority.
  * @param  NVIC_PriorityGroup: specifies the priority grouping bits length. 
  *   This parameter can be one of the following values:
  *     @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority
  *                                4 bits for subpriority
  *     @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority
  *                                3 bits for subpriority
  *     @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority
  *                                2 bits for subpriority
  *     @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority
  *                                1 bits for subpriority
  *     @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority
  *                                0 bits for subpriority
  * @retval None
  */
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
{
  /* Check the parameters */
  assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
  
  /* Set the PRIGROUP[10:8] bits accordin

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      26180  2018-11-30 15:21  Sagahds_20190306_STM32_FLASH_V0.1\cortexm3_macro.lst

     文件    2583965  2019-03-06 15:12  Sagahds_20190306_STM32_FLASH_V0.1\MDK将常量定义到固定地址.mht

     文件      45800  2019-03-06 17:40  Sagahds_20190306_STM32_FLASH_V0.1\output\Sagahds.hex

     文件     104710  2019-03-06 17:40  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.map

     文件      51744  2018-07-31 17:59  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.plg

     文件        479  2018-07-31 17:53  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.sct

    .......     72283  2019-03-06 17:46  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvgui.Administrator

     文件      71194  2018-12-03 13:51  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvguix.Administrator

    .......     72284  2019-03-06 17:39  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvgui_Administrator.bak

    .......     21212  2019-03-06 17:46  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvopt

     文件      21881  2018-12-03 13:51  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvoptx

    .......     21219  2019-03-06 13:59  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvproj

     文件      22004  2018-12-03 13:48  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds.uvproj.saved_uv4

     文件      68074  2019-03-06 17:40  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds_Target 1.dep

    .......     21211  2019-03-06 17:39  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds_uvopt.bak

    .......     21214  2019-03-06 11:57  Sagahds_20190306_STM32_FLASH_V0.1\Sagahds_uvproj.bak

     文件      40529  2019-03-06 17:39  Sagahds_20190306_STM32_FLASH_V0.1\startup_stm32f10x_md.lst

     文件      12895  2017-05-12 23:41  Sagahds_20190306_STM32_FLASH_V0.1\startup_stm32f10x_md.s

     文件       7181  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\misc.c

     文件       9117  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\misc.h

     文件      47336  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_adc.c

     文件      21825  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_adc.h

     文件       8598  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_bkp.c

     文件       7690  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_bkp.h

     文件      45238  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_can.c

     文件      27694  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_can.h

     文件      11791  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_cec.c

     文件       6708  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_cec.h

     文件       3482  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_crc.c

     文件       2297  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1\stm32f10x\stm32f10x_crc.h

............此处省略71个文件信息

评论

共有 条评论