DPWM 0-3 Registers Reference
71
SNIU028A – February 2016 – Revised April 2016
Copyright © 2016, Texas Instruments Incorporated
Digital Pulse Width Modulator (DPWM)
Table 2-7. DPWM Control Register 1 (DPWMCTRL1) Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
23-21
CLA_SCALE
R/W
000
Scaling for CLA Input Data
000 = CLA Value (Default)
001 = CLA Value multiplied by 2
010 = CLA Value divided by 2
011 = CLA Value multiplied by 4
100 = CLA Value divided by 4
101 = CLA Value multiplied by 8
110 = CLA Value divided by 8
111 = CLA Value
20
EXT_SYNC_EN
R/W
0
Slave DPWM to external sync
0 = DPWM not synchronized to external sync (Default)
1 = Slave DPWM to external sync
19
CBC_BSIDE
_ACTIVE_EN
R/W
0
Sets if CBC responds to Fault CBC when PWM-B is active, only available in Multi
and Reson modes
0 = Response to Fault CBC when PWM-A active (Default)
1 = Response to Fault CBC when PWM-A or PWM-B active
18
AUTO_MODE
_SEL
R/W
0
Auto Switching Mode Select
0 = Auto Switching Mode disabled (Default)
1 = Auto Switching Mode enabled
17-16
EVENT_UP_SEL
R/W
01
Update End Period Mode
00 = Events updated anytime
01 = Events updated at End of Period (Default)
10 = Events updated at count value equal to Sample Trigger 2 register
11 = Events updated at End of Period and Sample Trigger 2 position
15
CHECK
_OVERRIDE
R/W
0
PWM Check Override
0 = DPWM checks mathematical settings within module, correct placement of Event
settings/period settings. Invalid configurations are not allowed.
1 = Overrides checking for invalid configurations and turns off PWM mathematical
checking functions (Default)
14
GLOBAL_PERIOD
_ENGLOBAL
_PERIOD_EN
R/W
0
0 = Event calculations use DPWM Period register (Default)
1 = Event calculations use Global Period register
13
PWM_B_OE
R/W
0
Direction for PWM B pin
0 = PWM B configured as output (Default)
1 = PWM B configured as input
12
PWM_A_OE
R/W
0
Direction for PWM A pin
0 = PWM A configured as output (Default)
1 = PWM A configured as input
11
GPIO_B_VAL
R/W
0
Sets value of PWM B output in GPIO mode
0 = PWM B driven low in GPIO mode (Default)
1 = PWM B driven high in GPIO mode
10
GPIO_B_EN
R/W
0
Enables GPIO mode for PWM B output
0 = PWM B in DPWM mode (Default)
1 = PWM B in GPIO mode
9
GPIO_A_VAL
R/W
0
Sets value of PWM A output in GPIO mode
0 = PWM A driven low in GPIO mode (Default)
1 = PWM A driven high in GPIO mode
8
GPIO_A_EN
R/W
0
Enables GPIO mode for PWM A output
0 = PWM A in DPWM mode (Default)
1 = PWM A in GPIO mode