• 大小: 12.88MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-08-05
  • 语言: 其他
  • 标签: STM32F4  Fre  

资源简介

单项并网问题,需要实时了解频率的相关信息,使用定时器计数模式采频率,采频精度可达0.001Hz

资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    misc.c
  * @author  MCD Application Team
  * @version V1.0.2
  * @date    05-March-2012
  * @brief   This file provides all the miscellaneous firmware functions (add-on
  *          to CMSIS functions).
  *          
  *  @verbatim   
  *                               
  *          ===================================================================      
  *                        How to configure Interrupts using driver 
  *          ===================================================================      
  * 
  *            This section provide functions allowing to configure the NVIC interrupts (IRQ).
  *            The Cortex-M4 exceptions are managed by CMSIS functions.
  *
  *            1. Configure the NVIC Priority Grouping using NVIC_PriorityGroupConfig()
  *                function according to the following table.
 
  *  The table below gives the allowed values of the pre-emption priority and subpriority according
  *  to the Priority Grouping configuration performed by NVIC_PriorityGroupConfig function
  *    ==========================================================================================================================
  *      NVIC_PriorityGroup   | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority  |       Description
  *    ==========================================================================================================================
  *     NVIC_PriorityGroup_0  |                0                  |            0-15             | 0 bits for pre-emption priority
  *                           |                                   |                             | 4 bits for subpriority
  *    --------------------------------------------------------------------------------------------------------------------------
  *     NVIC_PriorityGroup_1  |                0-1                |            0-7              | 1 bits for pre-emption priority
  *                           |                                   |                             | 3 bits for subpriority
  *    --------------------------------------------------------------------------------------------------------------------------    
  *     NVIC_PriorityGroup_2  |                0-3                |            0-3              | 2 bits for pre-emption priority
  *                           |                                   |                             | 2 bits for subpriority
  *    --------------------------------------------------------------------------------------------------------------------------    
  *     NVIC_PriorityGroup_3  |                0-7                |            0-1              | 3 bits for pre-emption priority
  *                           |                                   |                             | 1 bits for subpriority
  *    ------------------------------------------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-04-22 19:47  20180422_采频率问题\
     目录           0  2018-04-22 19:47  20180422_采频率问题\CMSIS\
     目录           0  2018-04-22 19:47  20180422_采频率问题\CMSIS\inc\
     文件        1120  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\arm_common_tables.h
     文件      240326  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\arm_math.h
     文件       31948  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cm0.h
     文件       69722  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cm3.h
     文件       79281  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cm4.h
     文件       23979  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cm4_simd.h
     文件       15691  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cmFunc.h
     文件       16108  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\core_cmInstr.h
     文件      530857  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\stm32f4xx.h
     文件        2222  2016-10-13 22:23  20180422_采频率问题\CMSIS\inc\system_stm32f4xx.h
     目录           0  2018-04-22 19:47  20180422_采频率问题\LIB\
     目录           0  2018-04-22 19:47  20180422_采频率问题\LIB\inc\
     文件        6923  2016-10-13 22:23  20180422_采频率问题\LIB\inc\misc.h
     文件       32548  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_adc.h
     文件       27317  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_can.h
     文件        2415  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_crc.h
     文件       12659  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_cryp.h
     文件       14945  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_dac.h
     文件        4295  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_dbgmcu.h
     文件       12976  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_dcmi.h
     文件       28879  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_dma.h
     文件        8011  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_exti.h
     文件       14594  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_flash.h
     文件       27175  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_fsmc.h
     文件       17700  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_gpio.h
     文件        9083  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_hash.h
     文件       31645  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_i2c.h
     文件        4322  2016-10-13 22:23  20180422_采频率问题\LIB\inc\stm32f4xx_iwdg.h
............此处省略320个文件信息

评论

共有 条评论