EasyManuals Logo

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 #243 background imageLoading...
Page #243 background image
Timer
Description:
This function gets the match value for the specified timer.
Returns:
Returns the match value for the timer.
21.2.1.19 ROM_TimerMatchSet
Sets the timer match value.
Prototype:
void
ROM_TimerMatchSet(uint32_t ui32Base,
uint32_t ui32Timer,
uint32_t ui32Value)
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_TimerMatchSet is a function pointer located at ROM_TIMERTABLE[17].
Parameters:
ui32Base is the base address of the timer module.
ui32Timer specifies the timer(s) to adjust; must be one of TIMER_A, TIMER_B, or
TIMER_BOTH. Only TIMER_A should be used when the timer is configured for full-width
operation.
ui32Value is the match value.
Description:
This function sets the match value for a timer. This value is used in capture count mode to
determine when to interrupt the processor and in PWM mode to determine the duty cycle of
the output signal.
Note:
This function can be used for both full- and half-width modes of 16/32-bit timers, and for half-
width modes of 32/64-bit timers. Use ROM_TimerMatchSet64() for full-width modes of 32/64-
bit timers.
Returns:
None.
21.2.1.20 ROM_TimerMatchSet64
Sets the timer match value for a 64-bit timer.
Prototype:
void
ROM_TimerMatchSet64(uint32_t ui32Base,
uint64_t ui64Value)
April 8, 2013 243

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