Description: Freescale MC9S12XS128单片机增强型捕捉定时器的三大模块:输入捕捉,输出比较,脉冲累加,以及用输出比较模拟PWM用输入捕捉对脉冲计数4个调通的源代码程序。-Freescale MC9S12XS128 enhanced capture timer MCU three modules: input capture, output compare, pulse accumulation, and comparing the simulated with a PWM output with the input capture pulse count four transferred through the source code program. Platform: |
Size: 1071104 |
Author:Boky |
Hits:
Description: 利用输入捕捉输出比较功能实现扩展串口(波特率9600,数据位8bit,停止位1bit,无校验,可选定定时器通道,仅使用内部自带模块实现,占用CPU资源少),基于飞思卡尔XS128平台,编程环境为Freescale CodeWarrior-With input capture, output compare function to expand serial (9600 baud, data bits 8bit, Stop bit 1bit, no parity can be selected timer channel flex,own internal module use only,the CPU resources are limited), based on Freescale s XS128 platform programming environment for the Freescale CodeWarrior Platform: |
Size: 276480 |
Author:polly |
Hits:
Description: 本程序简单的示范了如何使用ATMEGA16的定时器
AVR定时器的要点介绍
T0工作于CTC模式,输出1KHz/2KHz 50 占空比的方波
T1工作于快速PWM模式兼输入捕捉
T2工作于相位修正PWM模式,输出490Hz的8bit PWM波-This procedure is simple demonstration how to use the ATMEGA16 the timer
To AVR timer points
The T0 work in CTC mode, the output 1KHz/2KHz 50 duty cycle square wave
T1 work in fast PWM mode and input capture
T2 work in the phase correct PWM mode, the output of 490Hz of 8bit the PWM wave Platform: |
Size: 33792 |
Author:000 |
Hits:
Description: 使用stm32单片机定时器的输入捕获功能捕获输入的正弦信号-Stm32 microcontroller timer input capture function to capture the input sine signal Platform: |
Size: 2649088 |
Author:张坤 |
Hits:
Description: 辒入捕捉(IC):当某个被测信号的设定边沿到来时,辒入捕捉逻辑立即将自由定时器
(TCNT)的内容捕捉到16位的IC/OC寄存器中,并设置中断请求标志,随后软件可以响应中
断或者根据标志做出处理。 -Wen Capture (IC): When the arrival of a set of measured signal edge, Wen input capture logic immediately free timer
(TCNT) content capture 16-bit IC/OC register, and interrupt request flag is set, then the software can respond to
Off or make a deal based on the flag. Platform: |
Size: 464896 |
Author:王海 |
Hits:
Description: 6. 定时器程序设计与电路仿真
LPC2138微控制器具有两个32位定时器,分别具有4路捕获收入,4路匹配比较输出,定时器是增量计数的,但溢出时并不会使中断标志置位,而只能通过比较匹配或捕获输入产生中断标志。
定义LED的输出端口,设置所有的引脚连接,使用IO0DIR寄存器定义LED控制口的输出,初始化定时器0,设置定时器0的分频、比较值。等待定时时间到,清除中断标志,通过IO0SET、IO0CLR寄存器控制LED的亮灭。
-6 Timer program design and circuit simulation LPC2138 microcontroller has two 32-bit timers, each with 4 capture revenue, four matched comparison output, the timer count is incremental, but does not cause overflow interrupt flag is set, but only by compare match or input capture interrupt flag. Definition LED output ports, set all the pin connections, use IO0DIR Register Definition LED control output port, initialize the timer 0, set the timer 0 prescaler compare values. Wait regular time to clear the interrupt flag, through IO0SET, IO0CLR registers control the LED light off. Platform: |
Size: 140288 |
Author:宋喜佳 |
Hits:
Description: 利用MSP430单片机的定时器的比较捕获模块做的小程序,用于测量输入信号的频率和周期。-Comparison of capture module to do a small program using MSP430 microcontroller timer, used for frequency and period measurement of the input signal.
Platform: |
Size: 1024 |
Author:戏言 |
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:
Description: STM32F103ZET6输入捕获实验,通过定时器捕获脉冲边沿,并输出对应的高电平持续时间。(STM32F103ZET6 input capture experiment, through the timer to capture the pulse edge, and output the corresponding high level duration.) Platform: |
Size: 6070272 |
Author:王智woods
|
Hits: