21.5.5 PWMFAULT Register (Offset = 0x10) [reset = 0x0]
PWM Output Fault (PWMFAULT)
This register controls the behavior of the MnPWMn outputs in the presence of fault conditions. Both the fault inputs (MnFAULTn pins and digital comparator outputs) and debug events are considered fault conditions. On a fault condition, each pwmA' or pwmB' signal can be passed through unmodified or driven to the value specified by the corresponding bit in the PWMFAULTVAL register. For outputs that are configured for pass-through, the debug event handling on the corresponding PWM generator also determines if the pwmA' or pwmB' signal continues to be generated.
Fault condition control occurs before the output inverter, so PWM signals driven to a specified value on fault are inverted if the channel is configured for inversion (therefore, the pin is driven to the logical complement of the specified value on a fault condition).
PWMFAULT is shown in Figure 21-11 and described in Table 21-7.
Return to Summary Table.
Figure 21-11 PWMFAULT Register
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
RESERVED |
R-0x0 |
|
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
RESERVED |
R-0x0 |
|
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
RESERVED |
R-0x0 |
|
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
FAULT7 |
FAULT6 |
FAULT5 |
FAULT4 |
FAULT3 |
FAULT2 |
FAULT1 |
FAULT0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
R/W-0x0 |
|
Table 21-7 PWMFAULT Register Field Descriptions
Bit |
Field |
Type |
Reset |
Description |
31-8 |
RESERVED |
R |
0x0 |
|
7 |
FAULT7 |
R/W |
0x0 |
MnPWM7 Fault.
0x0 = The generated pwm3B' signal is passed to the MnPWM7 pin.
0x1 = The MnPWM7 output signal is driven to the value specified by the PWM7 bit in the PWMFAULTVAL register.
|
6 |
FAULT6 |
R/W |
0x0 |
MnPWM6 Fault.
0x0 = The generated pwm3A' signal is passed to the MnPWM6 pin.
0x1 = The MnPWM6 output signal is driven to the value specified by the PWM6 bit in the PWMFAULTVAL register.
|
5 |
FAULT5 |
R/W |
0x0 |
MnPWM5 Fault.
0x0 = The generated pwm2B' signal is passed to the MnPWM5 pin.
0x1 = The MnPWM5 output signal is driven to the value specified by the PWM5 bit in the PWMFAULTVAL register.
|
4 |
FAULT4 |
R/W |
0x0 |
MnPWM4 Fault.
0x0 = The generated pwm2A' signal is passed to the MnPWM4 pin.
0x1 = The MnPWM4 output signal is driven to the value specified by the PWM4 bit in the PWMFAULTVAL register.
|
3 |
FAULT3 |
R/W |
0x0 |
MnPWM3 Fault.
0x0 = The generated pwm1B' signal is passed to the MnPWM3 pin.
0x1 = The MnPWM3 output signal is driven to the value specified by the PWM3 bit in the PWMFAULTVAL register.
|
2 |
FAULT2 |
R/W |
0x0 |
MnPWM2 Fault.
0x0 = The generated pwm1A' signal is passed to the MnPWM2 pin.
0x1 = The MnPWM2 output signal is driven to the value specified by the PWM2 bit in the PWMFAULTVAL register.
|
1 |
FAULT1 |
R/W |
0x0 |
MnPWM1 Fault.
0x0 = The generated pwm0B' signal is passed to the MnPWM1 pin.
0x1 = The MnPWM1 output signal is driven to the value specified by the PWM1 bit in the PWMFAULTVAL register.
|
0 |
FAULT0 |
R/W |
0x0 |
MnPWM0 Fault.
0x0 = The generated pwm0A' signal is passed to the MnPWM0 pin.
0x1 = The MnPWM0 output signal is driven to the value specified by the PWM0 bit in the PWMFAULTVAL register.
|