LM3S818 Luminary Micro, Inc, LM3S818 Datasheet - Page 145

no-image

LM3S818

Manufacturer Part Number
LM3S818
Description
Lm3s818 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S818-EQN50-C2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
MICRON
Quantity:
1 200
Part Number:
LM3S818-EQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S818-IGZ50-C2
Manufacturer:
TI
Quantity:
82
Part Number:
LM3S818-IQN50-C2
Quantity:
1 947
Company:
Part Number:
LM3S818-IQN50-C2
Quantity:
330
Part Number:
LM3S818-IQN50-C2T
Manufacturer:
Texas Instruments
Quantity:
10 000
9.1
9.2
9.2.1
9.2.2
February 6, 2007
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 156), the GPTM TimerA Mode (GPTMTAMR) register (see page 157), and the GPTM
TimerB Mode (GPTMTBMR) register (see page 158). 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 166) and the GPTM TimerB Interval Load (GPTMTBILR)
register (see page 167). The prescale counters are initialized to 0x00: the GPTM TimerA
Prescale (GPTMTAPR) register (see page 170) and the GPTM TimerB Prescale (GPTMTBPR)
register (see page 171).
32-Bit Timer Operating Modes
Note:
Interrupt
TimerA
Interrupt
TimerB
System
Clock
Both the odd- and even-numbered CCP pins are used for 16-bit mode. Only the
even-numbered CCP pins are used for 32-bit mode.
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
LM3S818 Data Sheet
Clock / Edge
Clock / Edge
RTC Divider
Detect
Detect
CCP (even)
CCP (odd)
145

Related parts for LM3S818