UM10413
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2011. All rights reserved.
User manual
Rev. 1 — 16 December 2011
190 of 268
NXP Semiconductors
UM10413
MPT612 User manual
•
Counter or timer operation
•
Four 16-bit match registers that allow:
–
Continuous operation with optional interrupt generation on match
–
Stop timer on match with optional interrupt generation
–
Reset timer on match with optional interrupt generation
•
Up to four (Timer3) external outputs corresponding to match registers with the
following capabilities:
–
Set LOW on match
–
Set HIGH on match
–
Toggle on match
–
Do nothing on match
•
For each timer, up to four match registers can be configured as PWM allowing up to
three match outputs as single edge-controlled PWM outputs to be used
22.2 Applications
•
Interval timer for counting internal events
•
Free-running timer
•
Pulse-width modulator via match outputs
22.3 Description
The timer counter is designed to count cycles of the peripheral clock (PCLK) or an
externally supplied clock, and it can optionally generate interrupts or perform other actions
at specified timer values, based on four match registers.
Due to the limited number of pins on the MPT612, none of the four match outputs of
Timer3 are connected to device pins.
Two match registers can be used to provide a single edge-controlled PWM output on the
MATn.2..0 pins. It is recommended to use the MRn.3 registers to control the PWM cycle
length. One other match register is required to control the PWM edge position. The
remaining two match registers can be used to create PWM output with the PWM cycle
rate determined by MRn.3.
22.4 Pin
description
gives a brief summary of each of the timer counter related pins.