Modes Of Operation; Block Diagram - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

• In output compare mode the output signal can be set, cleared, pulsed, or toggled
on match
• All channels can be configured for edge-aligned PWM mode or center-aligned
PWM mode
• Support the generation of an interrupt and/or DMA request per channel
• Support the generation of an interrupt and/or DMA request when the counter
overflows
• Support selectable trigger input to optionally reset or cause the counter to start
incrementing.
• The counter can also optionally stop incrementing on counter overflow
• Support the generation of hardware triggers when the counter overflows and per
channel

29.2.3 Modes of operation

During debug mode, the TPM can can be configured to temporarily pause all counting
until the core returns to normal user operating mode or to operate normally. When the
counter is paused, trigger inputs and input capture events are ignored.
During doze mode, the TPM can be configured to operate normally or to pause all
counting for the duration of doze mode. When the counter is paused, trigger inputs and
input capture events are ignored.
During stop mode, the TPM counter clock can remain functional and the TPM can
generate an asynchronous interrupt to exit the MCU from stop mode.

29.2.4 Block diagram

The TPM uses one input/output (I/O) pin per channel, CHn (TPM channel (n)) where n is
the channel number.
The following figure shows the TPM structure. The central component of the TPM is the
16-bit counter with programmable final value and its counting can be up or up-down.
Freescale Semiconductor, Inc.
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Chapter 29 Timer/PWM Module (TPM)
459

Advertisement

Table of Contents
loading

Table of Contents