English
Language : 

LM3S9B81 Datasheet, PDF (444/1155 Pages) Texas Instruments – Stellaris® LM3S9B81 Microcontroller
General-Purpose Timers
Bit/Field
5
4
3
2
1:0
Name
TBMIE
TBCDIR
TBAMS
TBCMR
TBMR
Type
R/W
R/W
R/W
R/W
R/W
Reset
0
Description
GPTM Timer B Match Interrupt Enable
Value Description
0 The match interrupt is disabled.
1 An interrupt is generated when the match value in the
GPTMTBMATCHR register is reached in the one-shot and
periodic modes.
0
GPTM Timer B Count Direction
Value Description
0 The timer counts down.
1 When in one-shot or periodic mode, the timer counts up. When
counting up, the timer starts from a value of 0x0000.
When in 16-bit PWM or 32-bit RTC mode, this bit must be clear; if this
bit is set, unpredictable behavior results.
0
GPTM Timer B Alternate Mode Select
The TBAMS values are defined as follows:
Value Description
0 Capture mode is enabled.
1 PWM mode is enabled.
Note: To enable PWM mode, you must also clear the TBCMR
bit and set the TBMR field to 0x2.
0
GPTM Timer B Capture Mode
The TBCMR values are defined as follows:
Value Description
0 Edge-Count mode
1 Edge-Time mode
0x0
GPTM Timer B Mode
The TBMR values are defined as follows:
Value Description
0x0 Reserved
0x1 One-Shot Timer mode
0x2 Periodic Timer mode
0x3 Capture mode
The timer mode is based on the timer configuration defined by bits 2:0
in the GPTMCFG register.
444
June 29, 2010
Texas Instruments-Advance Information