GPTM Registers
1277
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Timers
18.5.3 GPTMTBMR Register (Offset = 0x8) [reset = 0x0]
GPTM Timer B Mode (GPTMTBMR)
This register configures the GPTM based on the configuration selected in the GPTMCFG register. When
in PWM mode, set the TBAMS bit, clear the TBCMR bit, and configure the TBMR field to 0x1 or 0x2.
This register controls the modes for Timer B when it is used individually. When Timer A and Timer B are
concatenated, this register is ignored and GPTMTAMR controls the modes for both Timer A and Timer B.
NOTE:
Except for the TCACT bit field, all other bits in this register should only be changed when the
TBEN bit in the GPTMCTL register is cleared.
GPTMTBMR is shown in
and described in
Return to
Figure 18-11. GPTMTBMR 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
TCACT
TBCINTD
TBPLO
TBMRSU
TBPWMIE
TBILD
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
7
6
5
4
3
2
1
0
TBSNAPS
TBWOT
TBMIE
TBCDIR
TBAMS
TBCMR
TBMR
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
Table 18-14. GPTMTBMR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-16
RESERVED
R
0x0
15-13
TCACT
R/W
0x0
Timer Compare Action Select.
0x0 = Disable compare operations
0x1 = Toggle State on Time-Out
0x2 = Clear CCP on Time-Out
0x3 = Set CCP on Time-Out
0x4 = Set CCP immediately and toggle on Time-Out
0x5 = Clear CCP immediately and toggle on Time-Out
0x6 = Set CCP immediately and clear on Time-Out
0x7 = Clear CCP immediately and set on Time-Out
12
TBCINTD
R/W
0x0
One-Shot/Periodic Interrupt Disable.
0x0 = Time-out interrupt functions normally
0x1 = Time-out interrupt functionality is disabledSetting the
TBCINTD bit in the GPTMTBMR register does not have an effect on
the µDMA or ADC interrupt time-out event trigger assertions. If the
TBTODMAEN bit is set in the GPTMDMAEV register or the
TBTOADCEN bit is set in the GPTMADCEV register, a µDMA or
ADC time-out trigger is sent to the µDMA or ADC, respectively, even
if the TBCINTD bit is set.
11
TBPLO
R/W
0x0
GPTM Timer B PWM Legacy Operation.
This bit is only valid in PWM mode.
0x0 = Legacy operation with CCP pin driven Low when the
GPTMTAILR is reloaded after the timer reaches 0.
0x1 = CCP is driven High when the GPTMTAILR is reloaded after
the timer reaches 0.