LM3S317 Luminary Micro, Inc, LM3S317 Datasheet - Page 154

no-image

LM3S317

Manufacturer Part Number
LM3S317
Description
Lm3s317 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S317-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S317-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S317-IGZ25-C2
Manufacturer:
TI
Quantity:
168
Part Number:
LM3S317-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI
Quantity:
78
Part Number:
LM3S317-IQN25-C2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
LM3S317-IQN25-C2
Quantity:
17 500
Part Number:
LM3S317-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
General-Purpose Timers
9.4
Table 9-2. GPTM Register Map
154
Offset
0x00C
0x01C
0x02C
0x03C
0x000
0x004
0x008
0x018
0x020
0x024
0x028
0x030
0x034
0x038
0x040
0x044
GPTMRIS
GPTMTBILR
GPTMTBPR
Name
GPTMCFG
GPTMTAMR
GPTMTBMR
GPTMCTL
GPTMIMR
GPTMMIS
GPTMICR
GPTMTAILR
GPTMTAMATCHR
GPTMTBMATCHR
GPTMTAPR
GPTMTAPMR
GPTMTBPMR
7.
8.
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.
Register Map
Table 9-1 lists the GPTM registers. The offset listed is a hexadecimal increment to the register’s
address, relative to that timer’s base address:
If a prescaler is going to be used, configure the GPTM Timern Prescale (GPTMTnPR)
register and the GPTM Timern Prescale Match (GPTMTnPMR) register.
Set the TnEN bit in the GPTM Control (GPTMCTL) register to enable the timer and begin
generation of the output PWM signal.
Timer0: 0x40030000
Timer1: 0x40031000
Timer2: 0x40032000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x0000FFFF
0x00000000
0x00000000
0x0000FFFF
0x00000000
0x00000000
0x00000000
0x00000000
0x0000FFFF
0x0000FFFF
0xFFFFFFFF
0xFFFFFFFF
Reset
a
a
Preliminary
Type
W1C
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
Description
Configuration
TimerA mode
TimerB mode
Control
Interrupt mask
Interrupt status
Masked interrupt status
Interrupt clear
TimerA interval load
TimerB interval load
TimerA match
TimerB match
TimerA prescale
TimerB prescale
TimerA prescale match
TimerB prescale match
February 6, 2007
page
See
156
157
158
159
161
163
164
165
166
167
168
169
170
171
172
173

Related parts for LM3S317