Chapter 25 FlexPWM
MPC5602P Microcontroller Reference Manual, Rev. 4
678
Freescale Semiconductor
25.6.5.2
Fault Status Register (FSTS)
Table 25-18. FCTRL field descriptions
Field
Description
0:3
FLVL
Fault Level
These read/write bits select the active logic level of the individual fault inputs. A reset clears FLVL.
0 A logic 0 on the fault input indicates a fault condition.
1 A logic 1 on the fault input indicates a fault condition.
4:7
FAUTO
Automatic Fault Clearing
These read/write bits select automatic or manual clearing of faults. A reset clears FAUTO.
0 Manual fault clearing. PWM outputs disabled by this fault are not enabled until the FFLAGx bit is
clear at the start of a half cycle. This is further controlled by the FSAFE bits.
1 Automatic fault clearing. PWM outputs disabled by this fault are enabled when the FFPINx bit is
clear at the start of a half cycle without regard to the state of FFLAGx bit.
8:11
FSAFE
Fault Safety Mode
These read/write bits select the safety mode during manual fault clearing. A reset clears FSAFE.
0 Normal mode. PWM outputs disabled by this fault are not enabled until the FFLAGx bit is clear at
the start of a half cycle without regard to the state of the FFPINx bit. The PWM outputs disabled
by this fault input will not be re-enabled until the actual FAULTx input signal de-asserts since the
fault input will combinationally disable the PWM outputs (as programmed in DISMAP).
1 Safe mode. PWM outputs disabled by this fault are not enabled until the FFLAGx bit is clear and
the FFPINx bit is clear at the start of a half cycle.
Note:
The FFPINx bit may indicate a fault condition still exists even though the actual fault signal at
the FAULTx pin is clear due to the fault filter latency.
12:15
FIE
Fault Interrupt Enables
This read/write bit enables CPU interrupt requests generated by the FAULTx pins. A reset clears FIE.
0 FAULTx CPU interrupt requests disabled.
1 FAULTx CPU interrupt requests enabled.
Note:
The fault protection circuit is independent of the FIEx bit and is always active. If a fault is
detected, the PWM outputs are disabled according to the disable mapping register.
Address: Base + 0x014E
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
FTEST
FFPIN
0
0
0
0
FFLAG
W
Reset
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
Figure 25-27. Fault Status Register (FSTS)