English
Language : 

MC68HC908LB8_05 Datasheet, PDF (151/234 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
Fault Protection
If the FINT bit is set, a fault condition resulting in setting the FFLAG bit will also latch a CPU interrupt
request. The interrupt request latch is not cleared until one of these actions occurs:
• The FFLAG bit is cleared by writing a 1 to the corresponding FTACK bit.
• The FINT bit is cleared. This will not clear the FFLAG bit.
• A reset automatically clears the interrupt latch.
If prior to a vector fetch, the interrupt request latch is cleared by one of the actions listed, a CPU interrupt
will no longer be requested. A vector fetch does not alter the state of the PWMs, the FFLAG event flag,
or FINT.
NOTE
If the FFLAG or FINT bits are not cleared during the interrupt service
routine, the interrupt request latch will not be cleared.
15.5.1.2 Manual Mode
In manual mode, the PWM(s) are disabled immediately once a fault condition is detected (logic high). The
PWM(s) remain disabled until software clears the FFLAG event bit and a new PWM cycle begins. A fault
condition on the pin can only be cleared, allowing the PWM(s) to enable, if a logic low level at the fault pin
is present at the start of a PWM cycle. See Figure 15-12.
The function of the fault control and event bits is the same as in automatic mode except that the PWMs
are not re-enabled until the FFLAG event bit is cleared by writing to the FTACK bit and the fault condition
is cleared (logic low).
FAULT PIN 2 OR 4
PWM(S) ENABLED
PWM(S) DISABLED
PWM(S) ENABLED
FFLAGX CLEARED
Figure 15-12. PWM Disabling in Manual Mode
15.5.2 Software Output Disable
Setting PWM disable bit DIS0 or DIS1 in PWM control register 1 immediately disables the corresponding
PWM pins. The PWM pin(s) remain disabled until the PWM disable bit is cleared and a new PWM cycle
begins as shown in
Figure 15-13. Setting a PWM disable bit does not latch a CPU interrupt request, and there are no event
flags associated with the PWM disable bits.
MC68HC908LB8 Data Sheet, Rev. 1
Freescale Semiconductor
151