
PWM Registers
1467
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Pulse Width Modulator (PWM)
21.5.12 PWMnCTL Register [reset = 0x0]
PWM0 Control (PWM0CTL), offset 0x040
PWM1 Control (PWM1CTL), offset 0x080
PWM2 Control (PWM2CTL), offset 0x0C0
PWM3 Control (PWM3CTL), offset 0x100
These registers configure the PWM signal generation blocks (PWM0CTL controls the PWM generator 0
block, and so on). The Register Update mode, Debug mode, Counting mode, and Block Enable mode are
all controlled via these registers. The blocks produce the PWM signals, which can be either two
independent PWM signals (from the same counter), or a paired set of PWM signals with dead-band delays
added.
The PWM0 block produces the MnPWM0 and MnPWM1 outputs, the PWM1 block produces the MnPWM2
and MnPWM3 outputs, the PWM2 block produces the MnPWM4 and MnPWM5 outputs, and the PWM3
block produces the MnPWM6 and MnPWM7 outputs.
PWMnCTL is shown in
and described in
.
Return to
Figure 21-18. PWMnCTL Register
31
30
29
28
27
26
25
24
RESERVED
R-0x0
23
22
21
20
19
18
17
16
RESERVED
LATCH
MINFLTPER
FLTSRC
R-0x0
R/W-0x0
R/W-0x0
R/W-0x0
15
14
13
12
11
10
9
8
DBFALLUPD
DBRISEUPD
DBCTLUPD
GENBUPD
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
7
6
5
4
3
2
1
0
GENAUPD
CMPBUPD
CMPAUPD
LOADUPD
DEBUG
MODE
ENABLE
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
Table 21-14. PWMnCTL Register Field Descriptions
Bit
Field
Type
Reset
Description
31-19
RESERVED
R
0x0
18
LATCH
R/W
0x0
Latch fault input. When using an ADC digital comparator as a fault
source, the LATCH and MINFLTPER bits in the PWMnCTL register
should be set to 1 to ensure trigger assertions are captured.
0x0 = Fault Condition Not LatchedA fault condition is in effect for as
long as the generating source is asserting.
0x1 = Fault Condition LatchedA fault condition is set as the result of
the assertion of the faulting source and is held (latched) while the
PWMISC INTFAULTn bit is set. Clearing the INTFAULTn bit clears
the fault condition.