English
Language : 

LM3S5956-IQR80-C1 Datasheet, PDF (506/1144 Pages) Texas Instruments – Stellaris® LM3S5956 Microcontroller
General-Purpose Timers
NRND: Not recommended for new designs.
Register 19: GPTM Timer A Value (GPTMTAV), offset 0x050
When read, this register shows the current, free-running value of Timer A in all modes. Software
can use this value to determine the time elapsed between an interrupt and the ISR entry when using
the snapshot feature with the periodic operating mode. When written, the value written into this
register is loaded into the GPTMTAR register on the next clock cycle. In Input Edge-Count mode,
bits 23:16 contain the upper 8 bits of the count.
When a GPTM is configured to one of the 32-bit modes, GPTMTAV appears as a 32-bit register
(the upper 16-bits correspond to the contents of the GPTM Timer B Value (GPTMTBV) register).
In a 16-bit mode, bits 15:0 contain the value of the counter and bits 23:16 contain the current,
free-running value of the prescaler, which is the upper 8 bits of the count in Input Edge Count, Input
Edge Time, PWM and one-shot or periodic up count modes. In one-shot or periodic down count
modes, the prescaler stored in 23:16 is a true prescaler, meaning bits 23:16 count down before
decrementing the value in bits 15:0. The prescaler in bits 31:24 always reads as 0.
GPTM Timer A Value (GPTMTAV)
Timer 0 base: 0x4003.0000
Timer 1 base: 0x4003.1000
Timer 2 base: 0x4003.2000
Timer 3 base: 0x4003.3000
Offset 0x050
Type RW, reset 0xFFFF.FFFF
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
TAV
Type RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Reset
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
TAV
Type RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Reset
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Bit/Field
31:0
Name
TAV
Type
Reset Description
RW 0xFFFF.FFFF GPTM Timer A Value
A read returns the current, free-running value of Timer A in all modes.
When written, the value written into this register is loaded into the
GPTMTAR register on the next clock cycle.
Note:
In 16-bit mode, only the lower 16-bits of the GPTMTAV
register can be written with a new value. Writes to the
prescaler bits have no effect.
506
October 06, 2012
Texas Instruments-Production Data