English
Language : 

MC9S08SH8_08 Datasheet, PDF (183/338 Pages) Freescale Semiconductor, Inc – Microcontrollers
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 MC9S08SH8 block diagram with the MTIM module 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 on PTA0 can be enabled as external clock inputs to
both MTIM and TPM modules simultaneously.
MC9S08SH8 MCU Series Data Sheet, Rev. 3
Freescale Semiconductor
183