Description: a)目的:基础PWM输入也叫捕获,以及中断配合应用。使用前一章的输出管脚PB1(19脚),直接使用跳线连接输入的PA3(13脚),配置为TIM2_CH4,进行实验。
b)对于简单的PWM输入应用,暂时无需考虑TIM1的高级功能之区别,按照目前我的应用目标其实只需要采集高电平宽度,而不必知道周期,所以并不采用PWM输入模式,而是普通脉宽捕获模式。
-A) purpose: basic PWM input also called capture, and interrupt cooperate to apply. Before using a chapter of the output tube feet PB1 (19 feet), direct use of jump line join input PA3 (13 feet), configuration for the TIM2_CH4, the experiment.
B) for simple PWM input application, temporarily without thinking about the difference between the TIM1 advanced features, according to current my application target in fact only need to collect high level width, which do not need to know the cycle, so not using PWM input mode, but ordinary pulse width capture mode.
Platform: |
Size: 52224 |
Author:zhangxiansheng |
Hits:
Description: 真正实现了高级定时器和普通定时器的输入捕获,分别捕获一个脉冲,脉冲由51单片机产生,可自己调节精度-Truly advanced timer and timer input capture, respectively, to capture a pulse, the pulse generated by 51 single-chip, and can adjust
Section accuracy Platform: |
Size: 506880 |
Author:刘欣 |
Hits:
Description: STM32采用定时器管脚的输入捕获功能进行外部脉冲个数的采集,此代码仅采集脉冲个数,准确无误,用到的朋友下来看看,可检测编码器等PWM脉冲个数-STM32 timer pin input capture function for the acquisition of the external pulse number, this code is only collected the number of pulses, accurate, friend came down to see used to detect the number of encoder and PWM pulse Platform: |
Size: 2048 |
Author:adjlfjdlks |
Hits:
Description: 使用stm32单片机定时器的输入捕获功能捕获输入的正弦信号-Stm32 microcontroller timer input capture function to capture the input sine signal Platform: |
Size: 2649088 |
Author:张坤 |
Hits:
Description: 这是用STM32编写的一个PWM信号输出和输入捕获程序,频率和占空比可调-This is a PWM signal output and input capture STM32 written procedures, adjustable frequency and duty cycle Platform: |
Size: 861184 |
Author:许生 |
Hits:
Description: 在通过输入方波信号,可以通过STM32的输入捕捉功能,测出输入方波的频率。-Through the input square wave signal, you can STM32 input capture function, measured by the frequency of the input square wave Platform: |
Size: 1662976 |
Author:陈康 |
Hits:
Description: 基于stm32的超声波测距程序源码,采用定时器输入捕获功能编写,可以通过串口打印在上位机上显示。-Stm32 based on ultrasonic distance measurement procedures, written using the timer input capture function, you can print through the serial port on the PC display. Platform: |
Size: 5178368 |
Author:凌枫 |
Hits:
Description: 本程序是STM32系列单片机的输入捕获功能的实现,可以完成对边沿的检测,并且能通过串口将捕获的数据发送到电脑上位机上-This program is a STM32 MCU input capture function, you can complete the detection of the edge, and through the serial port to send the captured data to a computer PC Platform: |
Size: 2243584 |
Author:mengwang |
Hits:
Description: stm32单脉冲输入捕获,获取PWM的频率与占空比,可用于采集电机速度。-STM32 single pulse input capture, obtain the PWM frequency and duty ratio, can be used for the acquisition of motor speed Platform: |
Size: 1378304 |
Author:guyijia |
Hits:
Description: 本程序利用STM32单片机TIM5通道1,使用定时器捕获功能来捕捉PA0上面的高电平脉宽。-This procedure using TIM5 microcontroller STM32 channel 1, the use of timer capture function to capture the high level of PA0 above the pulse width. Platform: |
Size: 288768 |
Author:游方东 |
Hits:
Description: 使用STM32的高级控制定时器PWM输入捕获模式,测量PWM波形频率和周期。学会使用高级控制定时器输入捕获功能,以及通用定时器PWM输出功能。-Use the STM32 Advanced Control Timer PWM input capture mode to measure the PWM waveform frequency and period. Learn to use advanced control timer input capture function, and general-purpose timer PWM output function. Platform: |
Size: 676864 |
Author:凡华 |
Hits: