Datasheet

Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6CV2)
MC9S12E128 Data Sheet, Rev. 1.07
334 Freescale Semiconductor
11.3.2.4 PMF Configure 3 Register (PMFCFG3)
Read and write anytime.
Module Base + 0x0003
76543210
R
PMFWAI PMFFRZ
0
VLMODE SWAPC SWAPB SWAPA
W
Reset 0 0 0 00000
= Unimplemented or Reserved
Figure 11-7. PMF Configure 3 Register (PMFCFG3)
Table 11-5. PMFCFG3 Field Descriptions
Field Description
7
PMFWAI
PMF Stops While in Wait Mode — When set to zero, the PWM generators will continue to run while the chip is
in wait mode. In this mode, the peripheral clock continues to run but the CPU clock does not. If the device enters
wait mode and this bit is one, then the PWM outputs will be switched to their inactive state until wait mode is
exited. At that point the PWM pins will resume operation as programmed in the PWM registers.
0 PMF continues to run in wait mode.
1 PMF is disabled in wait mode.
6
PMFFRZ
PMF Stops While in Freeze Mode When set to zero, the PWM generators will continue to run while the chip
is in freeze mode. If the device enters freeze mode and this bit is one, then the PWM outputs will be switched to
their inactive state until freeze mode is exited. At that point the PWM pins will resume operation as programmed
in the PWM registers.
0 PMF continues to run in freeze mode.
1 PMF is disabled in freeze mode.
4–3
VLMODE
Value Register Load Mode This field determines the way the value registers are being loaded. This field can
only be written if ENHA is set.
00 = Each value register is accessed independently
01 = Writing to value register zero also writes to value registers one to five
10 = Writing to value register zero also writes to value registers one to three
11 = Reserved (defaults to independent access)
2
SWAPC
Swap Pair C — This bit can only be written if ENHA is set.
0 No swap.
1 PWM4 and PWM5 are swapped only in complementary mode.
1
SWAPB
Swap Pair B — This bit can only be written if ENHA is set.
0 No swap.
1 PWM2 and PWM3 are swapped only in complementary mode.
0
SWAPC
Swap Pair A —This bit can only be written if ENHA is set.
0 No swap.
1 PWM0 and PWM1 are swapped only in complementary mode.