GPTM Registers
1279
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Timers
Table 18-14. GPTMTBMR Register Field Descriptions (continued)
Bit
Field
Type
Reset
Description
4
TBCDIR
R/W
0x0
GPTM Timer B Count Direction.
When in PWM or RTC mode, the status of this bit is ignored.
PWM mode always counts down and RTC mode always counts up.
0x0 = The timer counts down.
0x1 = The timer counts up. When counting up, the timer starts from
a value of 0x0.
3
TBAMS
R/W
0x0
GPTM Timer B Alternate Mode Select.
0x0 = Capture or compare mode is enabled.
0x1 = PWM mode is enabled.To enable PWM mode, you must also
clear the TBCMR bit and configure the TBMR field to 0x1 or 0x2.
2
TBCMR
R/W
0x0
GPTM Timer B Capture Mode
0x0 = Edge-Count mode
0x1 = Edge-Time mode
1-0
TBMR
R/W
0x0
GPTM Timer B Mode.
The timer mode is based on the timer configuration defined by bits
2:0 in the GPTMCFG register.
0x0 = Reserved
0x1 = One-Shot Timer mode
0x2 = Periodic Timer mode
0x3 = Capture mode