![Freescale Semiconductor MC9S12ZVM series Reference Manual Download Page 550](http://html1.mh-extra.com/html/freescale-semiconductor/mc9s12zvm-series/mc9s12zvm-series_reference-manual_2330602550.webp)
Chapter 14 Pulse Width Modulator with Fault Protection (PMF15B6CV3)
MC9S12ZVM Family Reference Manual Rev. 1.3
550
Freescale Semiconductor
Figure 14-83. Automatic Fault Recovery
14.4.13.3 Manual Fault Recovery
Clearing a fault mode bit, FMOD
m
, configures faults from the FAULT
m
input for manually reenabling the
PWM outputs:
•
PWM outputs disabled by the FAULT0 input or the FAULT2 input are enabled by clearing the
corresponding FIF
m
flag. The time at which the PWM outputs are enabled depends on the
corresponding QSMP bit setting. If QSMP
m
= 00, the PWM outputs are enabled on the next IP bus
cycle when the logic level detected by the filter at the fault input is logic zero. If QSMP
m
= 01,10
or 11, the PWMs are enabled when the next PWM half cycle begins regardless of the state of the
logic level detected by the filter at the fault. See
and
•
PWM outputs disabled by the FAULT1 or FAULT3-5 inputs are enabled when
— Software clears the corresponding FIF
m
flag
— The filter detects a logic zero on the fault input at the start of the next PWM half cycle boundary.
See
Figure 14-84. Manual Fault Recovery (Faults 0 and 2) — QSMP = 00
PWMS ENABLED
PWMS DISABLED
PWMS ENABLED
FAULT INPUT
DISABLED
ENABLED
PWMS ENABLED
FAULT0 OR
FAULT2
PWMS ENABLED
PWMS DISABLED
FIFm CLEARED