Modes Of Operation; Mtim16 In Wait Mode; Mtim16 In Stop Modes - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

BUSCLK
XCLK
TCLK
SYNC
MTIM16
INTERRUPT
REQUEST
TOF
TOIE
Figure 13-1. Modulo Timer (MTIM16) Block Diagram

13.3.2 Modes of Operation

This section defines MTIM16 operation in stop, wait, and background debug modes.

13.3.2.1 MTIM16 in Wait Mode

The MTIM16 continues to run in wait mode if enabled prior to the execution of the
WAIT instruction. The timer overflow interrupt brings the MCU out of wait mode if it is
enabled. For lowest possible current consumption, the MTIM16 should be stopped by
software if it is not needed as an interrupt source during wait mode.

13.3.2.2 MTIM16 in Stop Modes

MTIM operation in stop modes is chip-specific. See details about MCU power modes and
clocking.
• If the MTIM is unclocked in any MCU stop mode, it is disabled in that mode,
regardless of the module settings before the STOP instruction was executed. It
cannot be used as a wakeup source in that mode.
• If the MTIM is clocked and enabled in an MCU stop mode, it can be used as a
wakeup source in that mode.
Upon waking from very low-power stop modes, the MTIM enters its reset state.
For low-power stop modes:
• If the device exits any of these modes with a reset, the MTIM module enters its reset
state.
NXP Semiconductors
CLOCK
PRESCALE
SOURCE
AND SELECT
SELECT
DIVIDE BY
CLKS
PS
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 13 Modulo Timer (MTIM)
16-BIT COUNTER
(MTIMxCNT)
16-BIT COMPARATOR
16-BIT MODULO
(MTIMxMOD)
TRST
TSTP
207

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents