English
Language : 

S9S08SG8E2MTJ Datasheet, PDF (183/320 Pages) Freescale Semiconductor, Inc – MC9S08SG8 MC9S08SG4 Data Sheet Addendum
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 MC9S08SG8 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.
MC9S08SG8 MCU Series Data Sheet, Rev. 7
Freescale Semiconductor
179