![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 499](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602499.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
Freescale Semiconductor
499
WARNING
When using the TOPNEG/BOTNEG bits and the MSK
n
bits at the same
time, when in complementary mode, it is possible to have both PMF channel
outputs of a channel pair set to one.
14.3.2.4
PMF Configure 3 Register (PMFCFG3)
5–0
MSK[5:0]
Mask PWMn —
Note: MSKn are buffered if ENCE is set. The value written does not take effect until the next commutation cycle
begins. Reading MSKn returns the value in the buffer and not necessarily the value the output control is
currently using.
0 PWMn is unmasked
1 PWMn is masked and the channel is set to a value of 0 percent duty cycle
n is 0, 1, 2, 3, 4, and 5.
Address: Module Base + 0x0003
Access: User read/write
(1)
1. Read: Anytime
Write: This register cannot be modified after the WP bit is set, except for bits PINVA, PINVB and PINVC
7
6
5
4
3
2
1
0
R
PMFWAI
PMFFRZ
0
VLMODE
PINVC
PINVB
PINVA
W
Reset
0
0
0
0
0
0
0
0
Figure 14-6. PMF Configure 3 Register (PMFCFG3)
Table 14-8. 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 outputs will resume operation as programmed in the PWM registers. This
bit cannot be modified after the WP bit is set.
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 outputs will resume operation
as programmed in the PWM registers. This bit cannot be modified after the WP bit is set.
0 PMF continues to run in FREEZE mode
1 PMF is disabled in FREEZE mode
Table 14-7. PMFCFG2 Field Descriptions (continued)
Field
Description