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
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...