EasyManuals Logo
Home>Texas Instruments>Microcontrollers>Tiva TM4C123GH6PM

Texas Instruments Tiva TM4C123GH6PM User Manual

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #233 background imageLoading...
Page #233 background image
Timer
that can operate independently or be concatenated to form a 32-bit timer. Similarly, the 32/64-
bit variety is comprised of two 32-bit timers that can operate independently or be concatenated
to form a 64-bit timer.
The configuration is specified in ui32Config as one of the following values:
TIMER_CFG_ONE_SHOT - Full-width one-shot timer
TIMER_CFG_ONE_SHOT_UP - Full-width one-shot timer that counts up instead of down
(not available on all parts)
TIMER_CFG_PERIODIC - Full-width periodic timer
TIMER_CFG_PERIODIC_UP - Full-width periodic timer that counts up instead of down
(not available on all parts)
TIMER_CFG_RTC - Full-width real time clock timer
TIMER_CFG_SPLIT_PAIR - Two half-width timers
When configured for a pair of half-width timers, each timer is separately configured. The first
timer is configured by setting ui32Config to the result of a logical OR operation between one of
the following values and ui32Config:
TIMER_CFG_A_ONE_SHOT - Half-width one-shot timer
TIMER_CFG_A_ONE_SHOT_UP - Half-width one-shot timer that counts up instead of
down (not available on all parts)
TIMER_CFG_A_PERIODIC - Half-width periodic timer
TIMER_CFG_A_PERIODIC_UP - Half-width periodic timer that counts up instead of down
(not available on all parts)
TIMER_CFG_A_CAP_COUNT - Half-width edge count capture
TIMER_CFG_A_CAP_COUNT_UP - Half-width edge count capture that counts up instead
of down (not available on all parts)
TIMER_CFG_A_CAP_TIME - Half-width edge time capture
TIMER_CFG_A_CAP_TIME_UP - Half-width edge time capture that counts up instead of
down (not available on all parts)
TIMER_CFG_A_PWM - Half-width PWM output
Similarly, the second timer is configured by setting ui32Config to the result of a logical OR
operation between one of the corresponding TIMER_CFG_B_ values and ui32Config.
Returns:
None.
21.2.1.2 ROM_TimerControlEvent
Controls the event type.
Prototype:
void
ROM_TimerControlEvent(uint32_t ui32Base,
uint32_t ui32Timer,
uint32_t ui32Event)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_TIMERTABLE is an array of pointers located at ROM_APITABLE[11].
ROM_TimerControlEvent is a function pointer located at ROM_TIMERTABLE[6].
April 8, 2013 233

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments Tiva TM4C123GH6PM and is the answer not in the manual?

Texas Instruments Tiva TM4C123GH6PM Specifications

General IconGeneral
BrandTexas Instruments
ModelTiva TM4C123GH6PM
CategoryMicrocontrollers
LanguageEnglish

Related product manuals