Modes Of Operation - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

• It can be a free-running counter or a counter with selectable final value
• The counting can be up or up-down
• Each channel can be configured for input capture, output compare, or edge-aligned
PWM mode
• In input capture mode:
• The capture can occur on rising edges, falling edges or both edges
• In output compare mode the output signal can be set, cleared, or toggled on match
• All channels can be configured for center-aligned PWM mode
• The generation of an interrupt per channel
• The generation of an interrupt when the counter overflows
• Backwards compatible with TPM

19.2.3 Modes of operation

When the MCU is in active BDM background or BDM foreground mode, the FTM
temporarily suspends all counting until the MCU returns to normal user operating mode.
During stop mode, all FTM input clocks are stopped, so the FTM is effectively disabled
until clocks resume. During wait mode, the FTM continues to operate normally. If the
FTM does not need to produce a real time reference or provide the interrupt sources
needed to wake the MCU from wait mode, the power can then be saved by disabling
FTM functions before entering wait mode.
19.2.4 Block diagram
The FTM uses one input/output (I/O) pin per channel, CHn (FTM channel (n)) where n is
the channel number (0–7).
The following figure shows the FTM structure. The central component of the FTM is the
16-bit counter with programmable final value and its counting can be up or up-down.
NXP Semiconductors
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 19 FlexTimer Module (FTM)
319

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents