资源简介

STM32F10x_StdPeriph_Driver 3.6.1 外设库 最新版 2012 STM32 更新内容见内文说明文档!

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @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

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

    .......      9117  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\misc.h

    .......     21825  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h

    .......      7690  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h

    .......     27694  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h

    .......      6708  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_cec.h

    .......      2297  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h

    .......     15368  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h

    .......      3953  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h

    .......     20889  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h

    .......      6962  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h

    .......     25580  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h

    .......     27151  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h

    .......     20310  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h

    .......     30164  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h

    .......      3963  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h

    .......      4518  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h

    .......     30587  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h

    .......      3992  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h

    .......     21998  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_sdio.h

    .......     17860  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_spi.h

    .......     52562  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_tim.h

    .......     16831  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_usart.h

    .......      3101  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\inc\stm32f10x_wwdg.h

    .......     35472  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\Release_Notes.html

    .......      7181  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\misc.c

    .......     47336  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.c

    .......      8598  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.c

    .......     45238  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\stm32f10x_can.c

    .......     11791  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.c

    .......      3482  2013-01-22 02:27  STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.c

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

评论

共有 条评论