Datasheet
Chapter 13
8-bit modulo timer (MTIM)
13.1 Introduction
The MTIM is a simple 8-bit timer with several software selectable clock sources and a
programmable interrupt.
For MCUs that have more than one MTIM, the MTIMs are collectively called MTIMx.
For example, MTIMx for an MCU with two MTIMs would refer to MTIM1 and MTIM2.
For MCUs that have exactly one MTIM, it is always referred to as MTIM.
13.2 Features
Timer system features include:
• 8-bit up-counter:
• Free-running or 8-bit modulo limit
• Software controllable interrupt on overflow
• Counter reset bit (TRST)
• Counter stop bit (TSTP)
• Four software selectable clock sources for input to prescaler:
• System bus clock - rising edge
• Fixed frequency clock (XCLK) - rising edge
• External clock source on the TCLK pin - rising edge
• External clock source on the TCLK pin - falling edge
• Nine selectable clock prescale values:
• Clock source divide by 1, 2, 4, 8, 16, 32, 64, 128, or 256
13.3 Modes of operation
This section defines the MTIM's operation in stop, wait, and background debug modes.
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 385
