GPTM Registers
1294
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
General-Purpose Timers
18.5.12 GPTMTAMATCHR Register (Offset = 0x30) [reset = 0xFFFFFFFF]
GPTM Timer A Match (GPTMTAMATCHR)
This 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.
Note that in edge-count mode, when executing an up-count, the value of GPTMTnPR and GPTMTnILR
must be greater than the value of GPTMTnPMR and GPTMTnMATCHR.
In PWM mode, this value along with GPTMTAILR, determines the duty cycle of the output PWM signal.
When a 16/32-bit 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.
GPTMTAMATCHR is shown in
and described in
Return to
Figure 18-20. GPTMTAMATCHR Register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
TAMR
R/W-0xFFFFFFFF
Table 18-23. GPTMTAMATCHR Register Field Descriptions
Bit
Field
Type
Reset
Description
31-0
TAMR
R/W
0xFFFFFFF
F
GPTM Timer A Match Register.
This value is compared to the GPTMTAR register to determine
match events.