Register Descriptions
326
SPRUHE8E – October 2012 – Revised November 2019
Copyright © 2012–2019, Texas Instruments Incorporated
M3 General-Purpose Timers
Figure 2-16. GPTM Timer A Match (GPTMTAMATCHR) Register
31
0
TAMR
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 2-15. GPTM Timer A Match (GPTMTAMATCHR) Register Field Descriptions
Bit
Field
Value
Description
31-0
TAMR
0x0000.
FFFF
GPTM Timer A Match Register
This value is compared to the GPTMTAR register to determine match events.
2.6.12 GPTM Timer B Match (GPTMTBMATCHR) Register, offset 0x034
The GPTM Timer B Match (GPTMTBMATCHR) 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 GPTMTBILR, determines how many edge events are
counted. The total number of edge events counted is equal to the value in GPTMTBILR minus this value.
In PWM mode, this value along with GPTMTBILR, determines the duty cycle of the output PWM signal.
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 GPTMTAMATCHR register. Reads from this register return the current
match value of Timer B and writes are ignored. In a 16-bit mode, bits 15:0 are used for the match value.
Bits 31:16 are reserved in both cases.
Figure 2-17. GPTM Timer B Match (GPTMTBMATCHR) Register
31
16 15
0
Reserved
TBMR
R-0
R/W-1
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 2-16. GPTM Timer B Match (GPTMTBMATCHR) Register Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
Reserved
15-0
TBMR
0x0000.
FFFF
GPTM Timer B Match Register
This value is compared to the GPTMTBR register to determine match events.
2.6.13 GPTM Timer A Prescale (GPTMTAPR) Register, offset 0x038
The GPTM Timer A Prescale (GPTMTAPR) register allows software to extend the range of the 16-bit
timers in periodic and one-shot modes. In Edge-Count mode, this register is the MSB of the 24-bit count
value.
Figure 2-18. GPTM Timer A Prescale (GPTMTAPR) Register
31
8
7
0
Reserved
TAPSR
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset