Pulse-Width Modulator for Motor Control (PWMMC)
Control Logic Block
MC68HC908MR16/MC68HC908MR32 — Rev. 4.0 Advance Information
MOTOROLA Pulse-Width Modulator for Motor Control (PWMMC) 177
9.10.8 Fault Control Register
The fault control register (FCR) controls the fau lt-protection circui try.
FINT4 — Fault 4 Interrupt Enable Bit
This read/write bit allows the CPU interrupt caused by faults on fault
pin 4 to be enabled. The fault protection circu itry is independent of t his
bit and will always be active. If a fault is detected, the PWM pins will
still be disabled according to the disable mapping register.
1 = Fault pin 4 will cause CPU interrupts.
0 = Fault pin 4 will not cause CPU interrupts.
FMODE4 —Fault Mode Selection for Fault Pin 4 Bit
(automatic versus manual mode)
This read/write bit allows the user to select between automatic and
manual mode faults. For further descriptions of each mode,
see 9.7 Fault Protection.
1 = Automatic mode
0 = Manual mode
FINT3 — Fault 3 Interrupt Enable Bit
This read/write bit allows the CPU interrupt caused by faults on fault
pin 3 to be enabled. The fault protection circu itry is independent of t his
bit and will always be active. If a fault is detected, the PWM pins will
still be disabled according to the disable mapping register.
1 = Fault pin 3 will cause CPU interrupts.
0 = Fault pin 3 will not cause CPU interrupts.
Address: $0022
Bit 7654321Bit 0
Read: FINT4FMODE4FINT3FMODE3FINT2FMODE2FINT1FMODE1
Write:
Reset:00000000
Figure 9-42. Fault Control Register (FCR)