文件名称:sy10
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-07-08
- 文件大小:
- 64kb
- 下载次数:
- 0次
- 提 供 者:
- c**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本实验将实现如下功能:本实验利用TIM5_CH1来做输入捕获,我们将捕获PA0上的高电平脉宽,并将脉宽时间通过串口打印出来,大家可以通过按WK_UP按键,模拟输入高电平。同时,本实验将保留上一个实验的PWM输出,DS0还是会由暗-->亮的循环变化,大家可以通过杜邦线连接PA0和PB5,来观测PWM输出的高电平时间。-The experiment will achieve the following functions: In this study, TIM5_CH1 do input capture, we will capture the high PA0 width, and pulse time printed out through the serial port, we can press WK_UP button, the analog input high . Meanwhile, the experiment will be retained on an experimental PWM output, DS0 or by dark-> light cycle changes, we can connect through the DuPont line PA0 and PB5, to observe the PWM output high time.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验10 输入捕获实验
...................\HARDWARE
...................\........\BEEP
...................\........\....\beep.c
...................\........\....\beep.h
...................\........\EXTI
...................\........\....\exti.c
...................\........\....\exti.h
...................\........\KEY
...................\........\...\key.c
...................\........\...\key.h
...................\........\LED
...................\........\...\led.c
...................\........\...\led.h
...................\........\TIMER
...................\........\.....\timer.c
...................\........\.....\timer.h
...................\........\WDG
...................\........\...\wdg.c
...................\........\...\wdg.h
...................\keilkill.bat
...................\OBJ
...................\...\test.hex
...................\README.TXT
...................\SYSTEM
...................\......\delay
...................\......\.....\delay.c
...................\......\.....\delay.h
...................\......\sys
...................\......\...\cortexm3_macro.h
...................\......\...\stm32f10x_conf.h
...................\......\...\stm32f10x_it.h
...................\......\...\stm32f10x_map.h
...................\......\...\stm32f10x_nvic.h
...................\......\...\stm32f10x_type.h
...................\......\...\sys.c
...................\......\...\sys.h
...................\......\usart
...................\......\.....\usart.c
...................\......\.....\usart.h
...................\USER
...................\....\JLinkSettings.ini
...................\....\startup_stm32f10x_hd.s
...................\....\test.c
...................\....\test.Opt
...................\....\test.Uv2
...................\....\test.uvgui.Administrator
...................\....\test.uvopt
...................\....\test.uvproj