English
Language : 

MC9S12T64 Datasheet, PDF (345/608 Pages) Motorola, Inc – Specification
Freescale Semiconductor, Inc.
Pulse Width Modulator (PWM8B8C)
Register Descriptions
1 = Channels 0 and 1 are concatenated to create one 16-bit PWM
channel. Channel 0 becomes the high order byte and channel
1 becomes the low order byte. Channel 1 output pin is used as
the output for this 16-bit PWM (bit 1 of port PWMP). Channel 1
clock select control-bit determines the clock source, channel 1
polarity bit determines the polarity, channel 1 enable bit
enables the output and channel 1 center aligned enable bit
determines the output mode.
0 = Channels 0 and 1 are separate 8-bit PWMs.
PSWAI — PWM Stops in Wait Mode
Enabling this bit allows for lower power consumption in Wait Mode by
disabling the input clock to the prescaler.
1 = Stop the input clock to the prescaler whenever the MCU is in
Wait Mode.
0 = Allow the clock to the prescaler to continue while in wait mode.
PFRZ — PWM Counters Stop in Freeze Mode
In Freeze Mode, there is an option to disable the input clock to the
prescaler by setting the PFRZ bit in the PWMCTL register. If this bit is
set, whenever the MCU is in freeze mode the input clock to the
prescaler is disabled. This feature is useful during emulation as it
allows the PWM function to be suspended. In this way, the counters
of the PWM can be stopped while in freeze mode so that once normal
program flow is continued, the counters are re-enabled to simulate
real-time operations. Since the registers can still be accessed in this
mode, to re-enable the prescaler clock, either disable the PFRZ bit or
exit freeze mode.
1 = Disable PWM input clock to the prescaler whenever the part is
in freeze mode. This is useful for emulation.
0 = Allow PWM to continue while in freeze mode.
NOTE:
The PWM module enters freeze mode when background debug mode
(BDM) is active. Refer to the Fast Background Debug Module (FBDM)
section about the background debug mode.
Pulse Width Modulator (PWM8B8C)
For More Information On This Product,
Go to: www.freescale.com
MC9S12T64Revision 1.1.1