Datasheet
Chapter 11 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
MC9S12E256 Data Sheet, Rev. 1.10
340 Freescale Semiconductor
11.3.2.5 PMF Fault Control Register (PMFFCTL)
Read and write anytime.
11.3.2.6 PMF Fault Pin Enable Register (PMFFPIN)
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
SWAPA
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.
Address: $0004
76543210
R
FMODE3 FIE3 FMODE2 FIE2 FMODE1 FIE1 FMODE0 FIE0
W
Reset 0 0 0 00000
Figure 11-8. PMF Fault Control Register (PMFFCTL)
Table 11-7. PMFFCTL Field Descriptions
Field Description
7, 5, 3, 1
FMODE[3:0]
Fault x Pin Clearing Mode — This bit selects automatic or manual clearing of FAULTx pin faults. See
Section 11.4.8.2, “Automatic Fault Clearing” and Section 11.4.8.3, “Manual Fault Clearing” for more details.
0 Manual fault clearing of FAULTx pin faults.
1 Automatic fault clearing of FAULTx pin faults.
where x is 0, 1, 2 and 3.
6, 4, 2, 0
FIE]3:0]
Fault x Pin Interrupt Enable — This bit enables CPU interrupt requests to be generated by the FAULTx pin. The
fault protection circuit is independent of the FIEx bit and is active when FPINEx is set. If a fault is detected, the
PWM pins are disabled according to the PMF Disable Mapping registers.
0 Fault x CPU interrupt requests disabled.
1 Fault x CPU interrupt requests enabled.
where x is 0, 1, 2 and 3.
Address: $0005
76543210
R0
FPINE3
0
FPINE2
0
FPINE1
0
FPINE0
W
Reset 0 0 0 00000
= Unimplemented or Reserved
Figure 11-9. PMF Fault Pin Enable Register (PMFFPIN)
Table 11-6. PMFCFG3 Field Descriptions (continued)
Field Description
