English
Language : 

LM3S9B81 Datasheet, PDF (424/1155 Pages) Texas Instruments – Stellaris® LM3S9B81 Microcontroller
General-Purpose Timers
11.1 Block Diagram
Figure 11-1. GPTM Module Block Diagram
Timer A
Free-Running
Value
Interrupt / Config
Timer A
Interrupt
Timer B
Interrupt
GPTMCFG
GPTMCTL
GPTMIMR
GPTMRIS
GPTMMIS
GPTMICR
Timer B
Free-Running
Value
System
Clock
Timer A Control
GPTMTAPMR
GPTMTAPR
GPTMTAMATCHR
GPTMTAILR
GPTMTAMR
Timer B Control
GPTMTAMR
GPTMTAILR
GPTMTAMATCHR
GPTMTAPR
GPTMTAPMR
0x0000 (Down Counter Modes)
0xFFFF (Up Counter Modes)
TA Comparator
GPTMTAR En
GPTMTAV
GPTMTBV
GPTMTBR En
TB Comparator
Clock / Edge
Detect
32 KHz or
Even CCP Pin
RTC Divider
Clock / Edge
Detect
Odd CCP Pin
0x0000 (Down Counter Modes)
0xFFFF (Up Counter Modes)
11.2
Note: In Figure 11-1 on page 424, the specific Capture Compare PWM (CCP) pins available depend
on the Stellaris® device. See Table 11-1 on page 424 for the available CCP pins and their
timer assignments
Table 11-1. Available CCP Pins
Timer
Timer 0
Timer 1
Timer 2
Timer 3
16-Bit Up/Down Counter
Timer A
Timer B
Timer A
Timer B
Timer A
Timer B
Timer A
Timer B
Even CCP Pin
CCP0
-
CCP2
-
CCP4
-
CCP6
-
Odd CCP Pin
-
CCP1
-
CCP3
-
CCP5
-
CCP7
Signal Description
Table 11-2 on page 425 and Table 11-3 on page 426 list the external signals of the GP Timer module
and describe the function of each. The GP Timer signals are alternate functions for some GPIO
signals and default to be GPIO signals at reset. The column in the table below titled "Pin Mux/Pin
Assignment" lists the possible GPIO pin placements for these GP Timer signals. The AFSEL bit in
the GPIO Alternate Function Select (GPIOAFSEL) register (page 318) should be set to choose
424
June 29, 2010
Texas Instruments-Advance Information