This note presents how to use the Auto-reload timer (ARTimer) of the ST62 to measure durations or frequencies of an input signal.
This document describes the Input Capture feature of the ST62 Auto-reload timer (ARTimer). The ARTimer is an 8-bit timer/counter with a prescaler that supports capture and compare capabilities. It can measure time durations or frequencies by capturing the value of the incremental counter register (TC) when an external event occurs on the input pin.
| Timer type | 8 bit timer/counter with prescaler |
|---|---|
| Resolution | 1/64 with 8MHz Quartz crystal |
| Max count span | 255 |
It is used to measure durations or frequencies of an input signal.
The timer is controlled by the Mode Control Register (MC), Status registers (SCO, SC1), Load register (LR), Incremental counter register (TC), Compare register (CP), and Reload/Capture register (RC).