English
Language : 

MC9S08SH32CWL Datasheet, PDF (183/328 Pages) Freescale Semiconductor, Inc – MC9S08SH32 Series Features
Chapter 12
Modulo Timer (S08MTIMV1)
12.1 Introduction
The MTIM is a simple 8-bit timer with several software selectable clock sources and a programmable
interrupt.
The central component of the MTIM is the 8-bit counter, which can operate as a free-running counter or a
modulo counter. A timer overflow interrupt can be enabled to generate periodic interrupts for time-based
software loops.
Figure 12-1 shows the MC9S08SH32 Series block diagram with the MTIM highlighted.
12.1.1 MTIM Configuration Information
The external clock for the MTIM module, TCLK, is selected by setting CLKS = 1:1 or 1:0 in MTIMCLK,
which selects the TCLK pin input. The TCLK input can be enabled as external clock inputs to both the
MTIM and TPM modules simultaneously.
MC9S08SH32 Series Data Sheet, Rev. 2
Freescale Semiconductor
183
PRELIMINARY