CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:Output-PWM-from-PA0

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    214.7kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

实现从PA.0输出一个占空比可变的PWM波,开发环境:keil uvision4 -extern volatile u16 Pulse

u8 Flag_60ms 

int main()

{

  RCC_Configuration()

  GPIO_Configuration()

  TIM_PWMConfiguration()

  NVIC_Configuration()

  TIM_ToggleConfiguration()

  GPIO_SetBits(GPIOA,GPIO_Pin_0)

  USART1_Configuration()

  SysTick_Configuration()

  while(1)

  {    

    if(Flag_60ms == 1)

    {

      Flag_60ms = 0

      TIM2->CCR2= PID_calculate(&Control_left,Pulse)

    }

  }



}
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Output PWM from PA0/List/test.plg
Output PWM from PA0/Rvmak/PWM_out.opt.bak
Output PWM from PA0/Rvmak/PWM_out.Uv2.bak
Output PWM from PA0/Rvmak/PWM_out.uvopt
Output PWM from PA0/Rvmak/PWM_out.uvproj
Output PWM from PA0/Rvmak/PWM_out_Target 1.dep
Output PWM from PA0/Src/AD.c
Output PWM from PA0/Src/AD.h
Output PWM from PA0/Src/delay.c
Output PWM from PA0/Src/delay.h
Output PWM from PA0/Src/GPIO.c
Output PWM from PA0/Src/GPIO.h
Output PWM from PA0/Src/INT.c
Output PWM from PA0/Src/main.c
Output PWM from PA0/Src/NVIC.c
Output PWM from PA0/Src/NVIC.h
Output PWM from PA0/Src/PID.C
Output PWM from PA0/Src/PID.H
Output PWM from PA0/Src/RCC.c
Output PWM from PA0/Src/RCC.h
Output PWM from PA0/Src/stmlib/core_cm3.c
Output PWM from PA0/Src/stmlib/core_cm3.h
Output PWM from PA0/Src/stmlib/misc.c
Output PWM from PA0/Src/stmlib/misc.h
Output PWM from PA0/Src/stmlib/StartUp/startup_stm32f10x_hd.s
Output PWM from PA0/Src/stmlib/StartUp/startup_stm32f10x_ld.s
Output PWM from PA0/Src/stmlib/StartUp/startup_stm32f10x_md.s
Output PWM from PA0/Src/stmlib/stm32f10x.h
Output PWM from PA0/Src/stmlib/stm32f10x_adc.c
Output PWM from PA0/Src/stmlib/stm32f10x_adc.h
Output PWM from PA0/Src/stmlib/stm32f10x_bkp.c
Output PWM from PA0/Src/stmlib/stm32f10x_bkp.h
Output PWM from PA0/Src/stmlib/stm32f10x_can.c
Output PWM from PA0/Src/stmlib/stm32f10x_can.h
Output PWM from PA0/Src/stmlib/stm32f10x_conf.h
Output PWM from PA0/Src/stmlib/stm32f10x_crc.c
Output PWM from PA0/Src/stmlib/stm32f10x_crc.h
Output PWM from PA0/Src/stmlib/stm32f10x_dac.c
Output PWM from PA0/Src/stmlib/stm32f10x_dac.h
Output PWM from PA0/Src/stmlib/stm32f10x_dbgmcu.c
Output PWM from PA0/Src/stmlib/stm32f10x_dbgmcu.h
Output PWM from PA0/Src/stmlib/stm32f10x_dma.c
Output PWM from PA0/Src/stmlib/stm32f10x_dma.h
Output PWM from PA0/Src/stmlib/stm32f10x_exti.c
Output PWM from PA0/Src/stmlib/stm32f10x_exti.h
Output PWM from PA0/Src/stmlib/stm32f10x_flash.c
Output PWM from PA0/Src/stmlib/stm32f10x_flash.h
Output PWM from PA0/Src/stmlib/stm32f10x_fsmc.c
Output PWM from PA0/Src/stmlib/stm32f10x_fsmc.h
Output PWM from PA0/Src/stmlib/stm32f10x_gpio.c
Output PWM from PA0/Src/stmlib/stm32f10x_gpio.h
Output PWM from PA0/Src/stmlib/stm32f10x_i2c.c
Output PWM from PA0/Src/stmlib/stm32f10x_i2c.h
Output PWM from PA0/Src/stmlib/stm32f10x_iwdg.c
Output PWM from PA0/Src/stmlib/stm32f10x_iwdg.h
Output PWM from PA0/Src/stmlib/stm32f10x_pwr.c
Output PWM from PA0/Src/stmlib/stm32f10x_pwr.h
Output PWM from PA0/Src/stmlib/stm32f10x_rcc.c
Output PWM from PA0/Src/stmlib/stm32f10x_rcc.h
Output PWM from PA0/Src/stmlib/stm32f10x_rtc.c
Output PWM from PA0/Src/stmlib/stm32f10x_rtc.h
Output PWM from PA0/Src/stmlib/stm32f10x_sdio.c
Output PWM from PA0/Src/stmlib/stm32f10x_sdio.h
Output PWM from PA0/Src/stmlib/stm32f10x_spi.c
Output PWM from PA0/Src/stmlib/stm32f10x_spi.h
Output PWM from PA0/Src/stmlib/stm32f10x_tim.c
Output PWM from PA0/Src/stmlib/stm32f10x_tim.h
Output PWM from PA0/Src/stmlib/stm32f10x_usart.c
Output PWM from PA0/Src/stmlib/stm32f10x_usart.h
Output PWM from PA0/Src/stmlib/stm32f10x_wwdg.c
Output PWM from PA0/Src/stmlib/stm32f10x_wwdg.h
Output PWM from PA0/Src/stmlib/system_stm32f10x.c
Output PWM from PA0/Src/stmlib/system_stm32f10x.h
Output PWM from PA0/Src/SysTick.c
Output PWM from PA0/Src/SysTick.h
Output PWM from PA0/Src/TIM.c
Output PWM from PA0/Src/TIM.h
Output PWM from PA0/Src/USART.c
Output PWM from PA0/Src/USART.h
Output PWM from PA0/Src/stmlib/StartUp
Output PWM from PA0/Src/stmlib
Output PWM from PA0/List
Output PWM from PA0/Rvmak
Output PWM from PA0/Src
Output PWM from PA0

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com