Timer Input Capture (Tim1 & Tim2) - STMicroelectronics STM8 Manual

Table of Contents

Advertisement

Timer Input Capture (TIM1 & TIM2)
Input capture is needed for measurements of pulses, pulse widths, frequencies, phase detection and
similar stuffs. With external interrupts these measurements can be done with some limitations.
However, using timer capture has some serious benefits. First of all, accuracy of measurements and
secondly timer capture simplifies many tasks as timers themselves time stuffs properly. Dedicated
hardware make stuffs like PWM measurement less complex and resource-friendly too.
STM8 timers have several capture channels just like output compare channels (PWM). The number of
input capture channels is same as the number of PWM channels. Except basic timers all timers have
input capture option.
Hardware Connection

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM8 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF