• 大小: 1.80M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-22
  • 标签: pwm  PW  输出  实例  

资源简介

基于HAL库,频率和占空比可自由配置,PWM波输出实例

【文件列表】

PWM输出实验

├── CORE
│   ├── cmsis_armcc.h
│   ├── core_cm4.h
│   ├── core_cmFunc.h
│   ├── core_cmInstr.h
│   ├── core_cmSimd.h
│   └── startup_stm32f429xx.s
├── HALLIB
│   └── STM32F4xx_HAL_Driver
│       ├── Inc
│       │   ├── Legacy
│       │   │   └── stm32_hal_legacy.h
│       │   ├── stm32f4xx_hal.h
│       │   ├── stm32f4xx_hal_adc.h
│       │   ├── stm32f4xx_hal_adc_ex.h
│       │   ├── stm32f4xx_hal_can.h
│       │   ├── stm32f4xx_hal_cec.h
│       │   ├── stm32f4xx_hal_conf_template.h
│       │   ├── stm32f4xx_hal_cortex.h
│       │   ├── stm32f4xx_hal_crc.h
│       │   ├── stm32f4xx_hal_cryp.h
│       │   ├── stm32f4xx_hal_cryp_ex.h
│       │   ├── stm32f4xx_hal_dac.h
│       │   ├── stm32f4xx_hal_dac_ex.h
│       │   ├── stm32f4xx_hal_dcmi.h
│       │   ├── stm32f4xx_hal_dcmi_ex.h
│       │   ├── stm32f4xx_hal_def.h
│       │   ├── stm32f4xx_hal_dma.h
│       │   ├── stm32f4xx_hal_dma2d.h
│       │   ├── stm32f4xx_hal_dma_ex.h
│       │   ├── stm32f4xx_hal_dsi.h
│       │   ├── stm32f4xx_hal_eth.h
│       │   ├── stm32f4xx_hal_flash.h
│       │   ├── stm32f4xx_hal_flash_ex.h
│       │   ├── stm32f4xx_hal_flash_ramfunc.h
│       │   ├── stm32f4xx_hal_fmpi2c.h
│       │   ├── stm32f4xx_hal_fmpi2c_ex.h
│       │   ├── stm32f4xx_hal_gpio.h
│       │   ├── stm32f4xx_hal_gpio_ex.h
│       │   ├── stm32f4xx_hal_hash.h
│       │   ├── stm32f4xx_hal_hash_ex.h
│       │   ├── stm32f4xx_hal_hcd.h
│       │   ├── stm32f4xx_hal_i2c.h
│       │   ├── stm32f4xx_hal_i2c_ex.h
│       │   ├── stm32f4xx_hal_i2s.h
│       │   ├── stm32f4xx_hal_i2s_ex.h
│       │   ├── stm32f4xx_hal_irda.h
│       │   ├── stm32f4xx_hal_iwdg.h
│       │   ├── stm32f4xx_hal_lptim.h
│       │   ├── stm32f4xx_hal_ltdc.h
│       │   ├── stm32f4xx_hal_ltdc_ex.h
│       │   ├── stm32f4xx_hal_nand.h
│       │   ├── stm32f4xx_hal_nor.h
│       │   ├── stm32f4xx_hal_pccard.h
│       │   ├── stm32f4xx_hal_pcd.h
│       │   ├── stm32f4xx_hal_pcd_ex.h
│       │   ├── stm32f4xx_hal_pwr.h
│       │   ├── stm32f4xx_hal_pwr_ex.h
│       │   ├── stm32f4xx_hal_qspi.h
│       │   ├── stm32f4xx_hal_rcc.h
│       │   ├── stm32f4xx_hal_rcc_ex.h
│       │   ├── stm32f4xx_hal_rng.h
│       │   ├── stm32f4xx_hal_rtc.h
│       │   ├── stm32f4xx_hal_rtc_ex.h
│       │   ├── stm32f4xx_hal_sai.h
│       │   ├── stm32f4xx_hal_sai_ex.h
│       │   ├── stm32f4xx_hal_sd.h
│       │   ├── stm32f4xx_hal_sdram.h
│       │   ├── stm32f4xx_hal_smartcard.h
│       │   ├── stm32f4xx_hal_spdifrx.h
│       │   ├── stm32f4xx_hal_spi.h
│       │   ├── stm32f4xx_hal_sram.h
│       │   ├── stm32f4xx_hal_tim.h
│       │   ├── stm32f4xx_hal_tim_ex.h
│       │   ├── stm32f4xx_hal_uart.h
│       │   ├── stm32f4xx_hal_usart.h
│       │   ├── stm32f4xx_hal_wwdg.h
│       │   ├── stm32f4xx_ll_fmc.h
│       │   ├── stm32f4xx_ll_fsmc.h
│       │   ├── stm32f4xx_ll_sdmmc.h
│       │   └── stm32f4xx_ll_usb.h
│       └── Src
│           ├── stm32f4xx_hal.c
│           ├── stm32f4xx_hal_adc.c
│           ├── stm32f4xx_hal_adc_ex.c
│           ├── stm32f4xx_hal_can.c
│           ├── stm32f4xx_hal_cec.c
│           ├── stm32f4xx_hal_cortex.c
│           ├── stm32f4xx_hal_crc.c
│           ├── stm32f4xx_hal_cryp.c
│           ├── stm32f4xx_hal_cryp_ex.c
│           ├── stm32f4xx_hal_dac.c
│           ├── stm32f4xx_hal_dac_ex.c
│           ├── stm32f4xx_hal_dcmi.c
│           ├── stm32f4xx_hal_dcmi_ex.c
│           ├── stm32f4xx_hal_dma.c
│           ├── stm32f4xx_hal_dma2d.c
│           ├── stm32f4xx_hal_dma_ex.c
│           ├── stm32f4xx_hal_dsi.c
│           ├── stm32f4xx_hal_eth.c
│           ├── stm32f4xx_hal_flash.c
│           ├── stm32f4xx_hal_flash_ex.c
│           ├── stm32f4xx_hal_flash_ramfunc.c
│           ├── stm32f4xx_hal_fmpi2c.c
│           ├── stm32f4xx_hal_fmpi2c_ex.c
│           ├── stm32f4xx_hal_gpio.c
│           ├── stm32f4xx_hal_hash.c
│           ├── stm32f4xx_hal_hash_ex.c
│           ├── stm32f4xx_hal_hcd.c
│           ├── stm32f4xx_hal_i2c.c
│           ├── stm32f4xx_hal_i2c_ex.c
│           ├── stm32f4xx_hal_i2s.c
│           ├── stm32f4xx_hal_i2s_ex.c
│           ├── stm32f4xx_hal_irda.c
│           ├── stm32f4xx_hal_iwdg.c
│           ├── stm32f4xx_hal_lptim.c
│           ├── stm32f4xx_hal_ltdc.c
│           ├── stm32f4xx_hal_ltdc_ex.c
│           ├── stm32f4xx_hal_msp_template.c
│           ├── stm32f4xx_hal_nand.c
│           ├── stm32f4xx_hal_nor.c
│           ├── stm32f4xx_hal_pccard.c
│           ├── stm32f4xx_hal_pcd.c
│           ├── stm32f4xx_hal_pcd_ex.c
│           ├── stm32f4xx_hal_pwr.c
│           ├── stm32f4xx_hal_pwr_ex.c
│           ├── stm32f4xx_hal_qspi.c
│           ├── stm32f4xx_hal_rcc.c
│           ├── stm32f4xx_hal_rcc_ex.c
│           ├── stm32f4xx_hal_rng.c
│           ├── stm32f4xx_hal_rtc.c
│           ├── stm32f4xx_hal_rtc_ex.c
│           ├── stm32f4xx_hal_sai.c
│           ├── stm32f4xx_hal_sai_ex.c
│           ├── stm32f4xx_hal_sd.c
│           ├── stm32f4xx_hal_sdram.c
│           ├── stm32f4xx_hal_smartcard.c
│           ├── stm32f4xx_hal_spdifrx.c
│           ├── stm32f4xx_hal_spi.c
│           ├── stm32f4xx_hal_sram.c
│           ├── stm32f4xx_hal_tim.c
│           ├── stm32f4xx_hal_tim_ex.c
│           ├── stm32f4xx_hal_uart.c
│           ├── stm32f4xx_hal_usart.c
│           ├── stm32f4xx_hal_wwdg.c
│           ├── stm32f4xx_ll_fmc.c
│           ├── stm32f4xx_ll_fsmc.c
│           ├── stm32f4xx_ll_sdmmc.c
│           └── stm32f4xx_ll_usb.c
├── HARDWARE
│   ├── KEY
│   │   ├── key.c
│   │   └── key.h
│   ├── LED
│   │   ├── led.c
│   │   └── led.h
│   └── TIMER
│       ├── timer.c
│       └── timer.h
├── OBJ
├── SI_prj
│   ├── pwm_output_hal.IAB
│   ├── pwm_output_hal.IAD
│   ├── pwm_output_hal.IMB
│   ├── pwm_output_hal.IMD
│   ├── pwm_output_hal.PFI
│   ├── pwm_output_hal.PO
│   ├── pwm_output_hal.PR
│   ├── pwm_output_hal.PRI
│   ├── pwm_output_hal.PS
│   ├── pwm_output_hal.SearchResults
│   └── pwm_output_hal.WK3
├── SYSTEM
│   ├── delay
│   │   ├── delay.c
│   │   └── delay.h
│   ├── sys
│   │   ├── sys.c
│   │   └── sys.h
│   └── usart
│       ├── usart.c
│       └── usart.h
├── USER
│   ├── DebugConfig
│   │   └── PWM_STM32F429IGTx.dbgconf
│   ├── JLinkSettings.ini
│   ├── PWM.uvguix.Administrator
│   ├── PWM.uvguix_Administrator.bak
│   ├── PWM.uvoptx
│   ├── PWM.uvprojx
│   ├── PWM_uvoptx.bak
│   ├── PWM_uvprojx.bak
│   ├── main.c
│   ├── main.h
│   ├── stm32f429xx.h
│   ├── stm32f4xx.h
│   ├── stm32f4xx_hal_conf.h
│   ├── stm32f4xx_it.c
│   ├── stm32f4xx_it.h
│   ├── system_stm32f4xx.c
│   └── system_stm32f4xx.h
├── keilkilll.bat
└── readme.txt

18 directories, 185 files


资源截图

代码片段和文件信息

/**
  ******************************************************************************
  * @file    stm32f4xx_hal.c
  * @author  MCD Application Team
  * @version V1.4.2
  * @date    10-November-2015
  * @brief   HAL module driver.
  *          This is the common part of the HAL initialization
  *
  @verbatim
  ==============================================================================
                     ##### How to use this driver #####
  ==============================================================================
    [..]
    The common HAL driver contains a set of generic and common APIs that can be
    used by the PPP peripheral drivers and the user to start using the HAL. 
    [..]
    The HAL contains two APIs‘ categories: 
         (+) Common HAL APIs
         (+) Services HAL APIs

  @endverbatim
  ******************************************************************************
  * @attention
  *
  * 

© COPYRIGHT(c) 2015 STMicroelect


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-04-20 16:27  PWM输出实验\
     目录           0  2020-04-20 16:27  PWM输出实验\CORE\
     文件       24423  2016-04-15 22:26  PWM输出实验\CORE\cmsis_armcc.h
     文件      114498  2016-04-15 22:26  PWM输出实验\CORE\core_cm4.h
     文件        3620  2016-04-15 22:26  PWM输出实验\CORE\core_cmFunc.h
     文件        3636  2016-04-15 22:26  PWM输出实验\CORE\core_cmInstr.h
     文件        3662  2016-04-15 22:26  PWM输出实验\CORE\core_cmSimd.h
     文件       31694  2016-04-15 22:26  PWM输出实验\CORE\startup_stm32f429xx.s
     目录           0  2020-04-20 16:27  PWM输出实验\HALLIB\
     目录           0  2020-04-20 16:27  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\
     目录           0  2020-04-20 16:27  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\
     目录           0  2020-04-20 16:27  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\Legacy\
     文件      166216  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h
     文件       13345  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h
     文件       36376  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc.h
     文件       18952  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_adc_ex.h
     文件       36361  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h
     文件       30747  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cec.h
     文件       17044  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_conf_template.h
     文件       20217  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h
     文件        7298  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_crc.h
     文件       23327  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp.h
     文件        8122  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cryp_ex.h
     文件       16428  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac.h
     文件       11242  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dac_ex.h
     文件       19885  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi.h
     文件       10401  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dcmi_ex.h
     文件        8527  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h
     文件       37305  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h
     文件       24927  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma2d.h
     文件        4242  2016-04-15 22:26  PWM输出实验\HALLIB\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h
............此处省略173个文件信息

评论

共有 条评论