DPWM 0-3 Registers Reference
86
SNIU028A – February 2016 – Revised April 2016
Copyright © 2016, Texas Instruments Incorporated
Digital Pulse Width Modulator (DPWM)
2.31.15 DPWM Fault Control Register (DPWMFLTCTRL)
Figure 2-31. DPWM Fault Control Register (DPWMFLTCTRL)
31
30
29
28
24
ALL_FAULT
_EN
CBC_FAULT
_EN
Reserved
CBC_MAX_COUNT
R/W-0
R/W-0
R-0
R/W-0 0000
23
22
21
20
16
Reserved
AB_MAX_COUNT
R-000
R/W-0 0000
15
13
12
8
Reserved
A_MAX_COUNT
R-000
R/W-0 0000
7
6
5
4
3
2
1
0
Reserved
B_MAX_COUNT
R-000
R/W-0 0000
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 2-20. DPWM Fault Control Register (DPWMFLTCTRL) Register Field Descriptions
Bit
Field
Type
Reset
Description
31
ALL_FAULT_EN
R/W
0
DPWM Fault Module enable
0 = All DPWM Fault Modules disabled (Default)
1 = All DPWM Fault Modules enabled
30
CBC_FAULT_EN
R/W
0
Cycle by cycle Fault Enable
0 = Cycle by cycle just shortens DPWM pulses
1 = Consecutive cycle by cycle events beyond CBC_MAX_COUNT will cause the
DPWM to shut off as with any other fault.
29
Reserved
R
0
28-24
CBC_MAX
_COUNT
R/W
0 0000
Cycle-by-Cycle Fault Count, sets the number of received sequential faults on Cycle-
by-Cycle Fault input before asserting the fault
23-21
Reserved
R
000
20-16
AB_MAX_COUNT
R/W
0 0000
Fault AB Count, sets the number of received sequential faults on Fault AB input
before asserting the fault
15-13
Reserved
R
000
12-8
A_MAX_COUNT
R/W
0 0000
Fault A Count, sets the number of received sequential faults on Fault A input before
asserting the fault
7-5
Reserved
R
000
4-0
B_MAX_COUNT
R/W
0 0000
Fault B Count, sets the number of received sequential faults on Fault B input before
asserting the fault