首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

757703280568838STM32F103(HAL)_SWO.zip

行业研究 460.75KB 1 需要积分: 1
立即下载

资源介绍:

757703280568838STM32F103(HAL)_SWO.zip
/** ****************************************************************************** * @file stm32f1xx_hal_tim.c * @author MCD Application Team * @brief TIM HAL module driver * This file provides firmware functions to manage the following * functionalities of the Timer (TIM) peripheral: * + Time Base Initialization * + Time Base Start * + Time Base Start Interruption * + Time Base Start DMA * + Time Output Compare/PWM Initialization * + Time Output Compare/PWM Channel Configuration * + Time Output Compare/PWM Start * + Time Output Compare/PWM Start Interruption * + Time Output Compare/PWM Start DMA * + Time Input Capture Initialization * + Time Input Capture Channel Configuration * + Time Input Capture Start * + Time Input Capture Start Interruption * + Time Input Capture Start DMA * + Time One Pulse Initialization * + Time One Pulse Channel Configuration * + Time One Pulse Start * + Time Encoder Interface Initialization * + Time Encoder Interface Start * + Time Encoder Interface Start Interruption * + Time Encoder Interface Start DMA * + Commutation Event configuration with Interruption and DMA * + Time OCRef clear configuration * + Time External Clock configuration @verbatim ============================================================================== ##### TIMER Generic features ##### ============================================================================== [..] The Timer features include: (#) 16-bit up, down, up/down auto-reload counter. (#) 16-bit programmable prescaler allowing dividing (also on the fly) the counter clock frequency either by any factor between 1 and 65536. (#) Up to 4 independent channels for: (++) Input Capture (++) Output Compare (++) PWM generation (Edge and Center-aligned Mode) (++) One-pulse mode output ##### How to use this driver ##### ============================================================================== [..] (#) Initialize the TIM low level resources by implementing the following functions depending from feature used : (++) Time Base : HAL_TIM_Base_MspInit() (++) Input Capture : HAL_TIM_IC_MspInit() (++) Output Compare : HAL_TIM_OC_MspInit() (++) PWM generation : HAL_TIM_PWM_MspInit() (++) One-pulse mode output : HAL_TIM_OnePulse_MspInit() (++) Encoder mode output : HAL_TIM_Encoder_MspInit() (#) Initialize the TIM low level resources : (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE(); (##) TIM pins configuration (+++) Enable the clock for the TIM GPIOs using the following function: __HAL_RCC_GPIOx_CLK_ENABLE(); (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init(); (#) The external Clock can be configured, if needed (the default clock is the internal clock from the APBx), using the following function: HAL_TIM_ConfigClockSource, the clock configuration should be done before any start function. (#) Configure the TIM in the desired functioning mode using one of the Initialization function of this driver: (++) HAL_TIM_Base_Init: to use the Timer to generate a simple time base (++) HAL_TIM_OC_Init and HAL_TIM_OC_ConfigChannel: to use the Timer to generate an Output Compare signal. (++) HAL_TIM_PWM_Init and HAL_TIM_PWM_ConfigChannel: to use the Timer to generate a PWM signal. (++) HAL_TIM_IC_Init and HAL_TIM_IC_ConfigChannel: to use the Timer to measure an external signal. (++) HAL_TIM_OnePulse_Init and HAL_TIM_OnePulse_ConfigChannel: to use the Timer in One Pulse Mode. (++) HAL_TIM_Encoder_Init: to use the Timer Encoder Interface. (#) Activate the TIM peripheral using one of the start functions depending from the feature used: (++) Time Base : HAL_TIM_Base_Start(), HAL_TIM_Base_Start_DMA(), HAL_TIM_Base_Start_IT() (++) Input Capture : HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT() (++) Output Compare : HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT() (++) PWM generation : HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT() (++) One-pulse mode output : HAL_TIM_OnePulse_Start(), HAL_TIM_OnePulse_Start_IT() (++) Encoder mode output : HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM_Encoder_Start_IT(). (#) The DMA Burst is managed with the two following functions: HAL_TIM_DMABurst_WriteStart() HAL_TIM_DMABurst_ReadStart() @endverbatim ****************************************************************************** * @attention * *

© COPYRIGHT(c) 2016 STMicroelectronics

* * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * 3. Neither the name of STMicroelectronics nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "stm32f1xx_hal.h" /** @addtogroup STM32F1xx_HAL_Driver * @{ */ /** @defgroup TIM TIM * @brief TIM HAL module driver * @{ */ #ifdef HAL_TIM_MODULE_ENABLED /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ /** @defgroup TIM_Private_Functions TIM Private Functions * @{ */ static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config); static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx,

资源文件列表:

757703280568838STM32F103(HAL)_SWO.zip 大约有87个文件
  1. STM32F103(HAL)_SWO/
  2. STM32F103(HAL)_SWO/STM32F1/
  3. STM32F103(HAL)_SWO/STM32F1/Demo/
  4. STM32F103(HAL)_SWO/STM32F1/Demo/.mxproject 7.9KB
  5. STM32F103(HAL)_SWO/STM32F1/Demo/Core/
  6. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Inc/
  7. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Inc/gpio.h 1.48KB
  8. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Inc/main.h 2.13KB
  9. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Inc/stm32f1xx_hal_conf.h 14.36KB
  10. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Inc/stm32f1xx_it.h 2.06KB
  11. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/
  12. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/gpio.c 2.04KB
  13. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/main.c 5.19KB
  14. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/stm32f1xx_hal_msp.c 2.46KB
  15. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/stm32f1xx_it.c 5.44KB
  16. STM32F103(HAL)_SWO/STM32F1/Demo/Core/Src/system_stm32f1xx.c 16.01KB
  17. STM32F103(HAL)_SWO/STM32F1/Demo/Demo.ioc 3.87KB
  18. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/
  19. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/
  20. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/
  21. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/
  22. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/
  23. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Include/
  24. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h 949.16KB
  25. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h 8.58KB
  26. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h 3.26KB
  27. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Source/
  28. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/
  29. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/
  30. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/arm_common_tables.h 7.09KB
  31. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/arm_const_structs.h 3.85KB
  32. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/arm_math.h 246.42KB
  33. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/cmsis_armcc.h 23.85KB
  34. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/cmsis_armcc_V6.h 53.79KB
  35. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/cmsis_gcc.h 40.46KB
  36. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cm0.h 36.35KB
  37. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cm0plus.h 43.75KB
  38. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cm3.h 101.47KB
  39. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cm4.h 111.81KB
  40. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cm7.h 136.39KB
  41. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cmFunc.h 3.54KB
  42. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cmInstr.h 3.55KB
  43. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_cmSimd.h 3.58KB
  44. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_sc000.h 44.2KB
  45. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/CMSIS/Include/core_sc300.h 100.4KB
  46. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/
  47. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/
  48. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/
  49. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h 177.62KB
  50. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h 12.48KB
  51. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h 18.37KB
  52. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h 8.24KB
  53. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h 19.02KB
  54. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h 13.77KB
  55. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h 10.34KB
  56. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h 37.34KB
  57. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h 12.99KB
  58. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h 36.6KB
  59. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h 13.04KB
  60. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h 68.05KB
  61. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h 100.44KB
  62. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h 81.68KB
  63. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h 15.75KB
  64. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/
  65. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c 21.1KB
  66. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c 20.14KB
  67. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c 29.3KB
  68. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c 30.79KB
  69. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c 37.5KB
  70. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c 21.99KB
  71. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c 5.38KB
  72. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c 22.27KB
  73. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c 50.56KB
  74. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c 31.52KB
  75. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c 167.94KB
  76. STM32F103(HAL)_SWO/STM32F1/Demo/Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c 60.74KB
  77. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/
  78. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/Demo.ewd 52.43KB
  79. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/Demo.ewp 40.19KB
  80. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/Project.eww 148B
  81. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/startup_stm32f103xe.s 17.42KB
  82. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/stm32f103xe_flash.icf 1.32KB
  83. STM32F103(HAL)_SWO/STM32F1/Demo/EWARM/stm32f103xe_sram.icf 1.31KB
  84. STM32F103(HAL)_SWO/STM32F1/Demo/MDK-ARM/
  85. STM32F103(HAL)_SWO/STM32F1/Demo/MDK-ARM/Demo.uvoptx 13.49KB
  86. STM32F103(HAL)_SWO/STM32F1/Demo/MDK-ARM/Demo.uvprojx 18.04KB
  87. STM32F103(HAL)_SWO/STM32F1/Demo/MDK-ARM/startup_stm32f103xe.s 15.99KB
0评论
提交 加载更多评论
其他资源 16ec2f1673b152079bfae1e569fbfd4e.zip
16ec2f1673b152079bfae1e569fbfd4e.zip
16ec2f1673b152079bfae1e569fbfd4e.zip 16ec2f1673b152079bfae1e569fbfd4e.zip 16ec2f1673b152079bfae1e569fbfd4e.zip
电脑dll问题的检测和修复
适用于dll文件缺失导致不能正常运行
后台模板-Thin-Admin-Final-HTML.zip
后台模板-Thin-Admin-Final-HTML.zip
后台模板-Thin-Admin-Final-HTML.zip 后台模板-Thin-Admin-Final-HTML.zip 后台模板-Thin-Admin-Final-HTML.zip
浪潮5212M4服务器风扇转速控制 批处理脚本实现 源代码可见
浪潮5212M4用来做家用NAS存储,风扇声音有点大,手动设定断电重启后又会失效。利用附件脚本,做到启动项中,可将风扇转速控制在10%,这世界安静了。 根据季节不同,可以自行设定需要的转速 调用IPMI指令的方式,源代码可见,安全
springboot基于SpringBoot的在线视频教育平台的设计与实现
摘 要 随着科学技术的飞速发展,各行各业都在努力与现代先进技术接轨,通过科技手段提高自身的优势;对于在线视频教育平台当然也不能排除在外,随着网络技术的不断成熟,带动了在线视频教育平台,它彻底改变了过去传统的管理方式,不仅使服务管理难度变低了,还提升了管理的灵活性。这种个性化的平台特别注重交互协调与管理的相互配合,激发了管理人员的创造性与主动性,对在线视频教育平台而言非常有利。 本系统采用的数据库是Mysql,使用SpringBoot框架开发,运行环境使用Tomcat服务器,ECLIPSE 是本系统的开发平台。在设计过程中,充分保证了系统代码的良好可读性、实用性、易扩展性、通用性、便于后期维护、操作方便以及页面简洁等特点。 关键字:在线视频教育平台 Mysql数据库 SpringBoot框架
ETCD程序安装包-centos7
其中包含cfssl_linux-amd64、cfssljson_linux-amd64 和 etcd-v3.3.7-linux-amd64
3889370_g.zip
3889370_g.zip
3889370_g.zip 3889370_g.zip
免费修复dll工具-全面检测DLL异常-快速修复
DLL修复工具的核心运行文件,通常命名为 “DLLRepairTool.exe” 或者类似的名称,它是整个修复工具的启动入口。用户双击该文件,便可启动修复工具的操作界面,进而开始对系统中DLL相关问题的检测与修复流程。主程序文件负责协调其他资源的调用和运行,确保修复工具的各项功能能够正常发挥。