English
Language : 

LM3S8G62 Datasheet, PDF (477/1096 Pages) Texas Instruments – Stellaris® LM3S8G62 Microcontroller
OBSOLETE: TI has discontinued production of this device.
Stellaris® LM3S8G62 Microcontroller
7. Set the TnEN bit in the GPTM Control (GPTMCTL) register to enable the timer and begin
generation of the output PWM signal.
In PWM Timing mode, the timer continues running after the PWM signal has been generated. The
PWM period can be adjusted at any time by writing the GPTMTnILR register, and the change takes
effect at the next cycle after the write.
10.5
Register Map
Table 10-11 on page 477 lists the GPTM registers. The offset listed is a hexadecimal increment to
the register’s address, relative to that timer’s base address:
■ Timer 0: 0x4003.0000
■ Timer 1: 0x4003.1000
■ Timer 2: 0x4003.2000
■ Timer 3: 0x4003.3000
Note that the GP Timer module clock must be enabled before the registers can be programmed
(see page 256). There must be a delay of 3 system clocks after the Timer module clock is enabled
before any Timer module registers are accessed.
Table 10-11. Timers Register Map
Offset Name
Type
0x000 GPTMCFG
0x004 GPTMTAMR
0x008 GPTMTBMR
0x00C GPTMCTL
0x018 GPTMIMR
0x01C GPTMRIS
0x020 GPTMMIS
0x024 GPTMICR
0x028 GPTMTAILR
0x02C GPTMTBILR
0x030 GPTMTAMATCHR
0x034 GPTMTBMATCHR
0x038 GPTMTAPR
0x03C GPTMTBPR
0x040 GPTMTAPMR
0x044 GPTMTBPMR
0x048 GPTMTAR
0x04C GPTMTBR
0x050 GPTMTAV
R/W
R/W
R/W
R/W
R/W
RO
RO
W1C
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
RW
Reset
Description
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0xFFFF.FFFF
0x0000.FFFF
0xFFFF.FFFF
0x0000.FFFF
0x0000.0000
0x0000.0000
0x0000.0000
0x0000.0000
0xFFFF.FFFF
0x0000.FFFF
0xFFFF.FFFF
GPTM Configuration
GPTM Timer A Mode
GPTM Timer B Mode
GPTM Control
GPTM Interrupt Mask
GPTM Raw Interrupt Status
GPTM Masked Interrupt Status
GPTM Interrupt Clear
GPTM Timer A Interval Load
GPTM Timer B Interval Load
GPTM Timer A Match
GPTM Timer B Match
GPTM Timer A Prescale
GPTM Timer B Prescale
GPTM TimerA Prescale Match
GPTM TimerB Prescale Match
GPTM Timer A
GPTM Timer B
GPTM Timer A Value
See
page
479
480
482
484
487
489
492
495
497
498
499
500
501
502
503
504
505
506
507
July 24, 2012
477
Texas Instruments-Production Data