English
Language : 

AN591 Datasheet, PDF (1/5 Pages) STMicroelectronics – Input capture with ST62 auto-reload timer
AN591
Application note
Input capture with ST62 auto-reload timer
Introduction
This note presents how to use the Auto-reload timer (ARTimer) of the ST62 to measure
durations or frequencies of an input signal.
Auto-reload timer description
This timer is an 8 bit timer/counter with prescaler. It includes auto-reload PWM, capture and
compare capability with one input and one output pins. It can be controlled by the following
registers (8 bit):
● Mode Control Register (MC)
● Status registers (SC0, SC1)
● Load register (LR)
● Incremental counter register (TC)
● Compare register (CP)
● Reload/Capture register (RC)
It can also wake-up the MCU from wait mode and exit from stop mode if an external event is
present on the input pin. The prescaler ratio can be programmed to choose the timer input
frequency FIN (see Table 1).
Figure 1. Auto-reload timer block diagram
July 2008
Rev 2
1/5
www.st.com