LM3S310 Luminary Micro, Inc, LM3S310 Datasheet - Page 142
LM3S310
Manufacturer Part Number
LM3S310
Description
Lm3s310 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet
1.LM3S310.pdf
(336 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
LM3S310-EQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S310-EQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S310-IGZ25-C2
Manufacturer:
TI
Quantity:
86
Company:
Part Number:
LM3S310-IQN25-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Company:
Part Number:
LM3S310-IQN25-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
- Current page: 142 of 336
- Download datasheet (3Mb)
General-Purpose Timers
9.1
9.2
9.2.1
9.2.2
142
Block Diagram
Figure 9-1. GPTM Module Block Diagram
Functional Description
The main components of each GPTM block are two free-running 16-bit up/down counters (referred
to as TimerA and TimerB), two 16-bit match registers, two prescaler match registers, and two
16-bit load/initialization registers and their associated control functions. The exact functionality of
each GPTM is controlled by software and configured through the register interface.
Software configures the GPTM using the GPTM Configuration (GPTMCFG) register (see
page 153), the GPTM TimerA Mode (GPTMTAMR) register (see page 154), and the GPTM
TimerB Mode (GPTMTBMR) register (see page 155). When in one of the 32-bit modes, the timer
can only act as a 32-bit timer. However, when configured in 16-bit mode, the GPTM can have its
two 16-bit timers configured in any combination of the 16-bit modes.
GPTM Reset Conditions
After reset has been applied to the GPTM module, the module is in an inactive state, and all
control registers are cleared and in their default states. Counters TimerA and TimerB are initialized
to 0xFFFF, along with their corresponding load registers: the GPTM TimerA Interval Load
(GPTMTAILR) register (see page 163) and the GPTM TimerB Interval Load (GPTMTBILR)
register (see page 164). The prescale counters are initialized to 0x00: the GPTM TimerA
Prescale (GPTMTAPR) register (see page 167) and the GPTM TimerB Prescale (GPTMTBPR)
register (see page 168).
32-Bit Timer Operating Modes
Note:
This section describes the three GPTM 32-bit timer modes (One-Shot, Periodic, and RTC) and
their configuration.
Interrupt
TimerA
Interrupt
TimerB
System
Clock
The odd-numbered CCP pins are used for 16-bit input and the even-numbered CCP pins
are used for 32-bit input.
Interrupt / Config
GPTMCFG
GPTMCTL
GPTMIMR
GPTMMIS
GPTMICR
GPTMRIS
GPTMTAMATCHR
GPTMTBMATCHR
TimerA Control
TimerB Control
GPTMTAPMR
GPTMTBPMR
GPTMTAILR
GPTMTAMR
GPTMTBILR
GPTMTBMR
GPTMTAPR
GPTMTBPR
Preliminary
TA Comparator
TB Comparator
GPTMTBR
0x0000 (Down Counter Modes )
0x0000 (Down Counter Modes )
GPTMAR
En
En
Clock / Edge
Clock / Edge
RTC Divider
Detect
Detect
CCP (even)
CCP (odd)
July 5, 2006
Related parts for LM3S310
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Lm3s1110 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1133 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1138 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1150 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1162 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1165 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1332 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1435 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1439 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1512 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1538 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1601 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1607 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet:
Part Number:
Description:
Lm3s1608 Arm Microcontroller
Manufacturer:
Luminary Micro, Inc
Datasheet: