Register Descriptions
318
SPRUH22I – April 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
M3 General-Purpose Timers
Figure 2-14. GPTM Timer A Interval Load (GPTMTAILR) Register
31
0
TAILR
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 2-13. GPTM Timer A Interval Load (GPTMTAILR) Register Field Descriptions
Bit
Field
Value
Description
31-0
TAILR
0x0000.
FFFF
GPTM Timer A Interval Load Register
Writing this field loads the counter for Timer A. A read returns the current value of GPTMTAILR.
2.6.10 GPTM Timer B Interval Load (GPTMTBILR) Register, offset 0x02C
The GPTM Timer B Interval Load (GPTMTBILR) register is used to load the starting count value into the
timer, when the timer is counting down . When the timer is counting up, this register sets the upper bound
for the timeout event.
When a GPTM is configured to one of the 32-bit modes, the contents of bits 15:0 in this register are
loaded into the upper 16 bits of the GPTMTAILR register. Reads from this register return the current value
of Timer B and writes are ignored. In a 16-bit mode, bits 15:0 are used for the load value. Bits 31:16 are
reserved in both cases.
Figure 2-15. GPTM Timer A Interval Load (GPTMTBILR) Register
31
16 15
0
Reserved
TBILR
R-0
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 2-14. GPTM Timer A Interval Load (GPTMTBILR) Register Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
Reserved
15-0
TBILR
0x0000.
FFFF
GPTM Timer B Interval Load Register
Writing this field loads the counter for Timer B. A read returns the current value of GPTMTBILR.
When a GPTM is in 32-bit mode, writes are ignored, and reads return the current value of
GPTMTBILR.
2.6.11 GPTM Timer A Match (GPTMTAMATCHR) Register, offset 0x030
The GPTM Timer A Match (GPTMTAMATCHR) register is loaded with a match value. Interrupts can be
generated when the timer value is equal to the value in this register in one-shot or periodic mode.
In Edge-Count mode, this register along with GPTMTAILR, determines how many edge events are
counted. The total number of edge events counted is equal to the value in GPTMTAILR minus this value.
In PWM mode, this value along with GPTMTAILR, determines the duty cycle of the output PWM signal.
When a GPTM is configured to one of the 32-bit modes, GPTMTAMATCHR appears as a 32-bit register
(the upper 16-bits correspond to the contents of the GPTM Timer B Match (GPTMTBMATCHR) register).
In a 16-bit mode, the upper 16 bits of this register read as 0s and have no effect on the state of
GPTMTBMATCHR.