STM32 STM32F103C8T6 片内FLASH读写例程


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.1cortexm3_macro.lst

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

     文件      45800  2019-03-06 17:40  Sagahds_20190306_STM32_FLASH_V0.1outputSagahds.hex

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

     文件       7181  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xmisc.c

     文件       9117  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xmisc.h

     文件      47336  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_adc.c

     文件      21825  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_adc.h

     文件       8598  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_bkp.c

     文件       7690  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_bkp.h

     文件      45238  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_can.c

     文件      27694  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_can.h

     文件      11791  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_cec.c

     文件       6708  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_cec.h

     文件       3482  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_crc.c

     文件       2297  2012-03-19 17:29  Sagahds_20190306_STM32_FLASH_V0.1stm32f10xstm32f10x_crc.h

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

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)