Timer
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_TimerPrescaleMatchGet is a function pointer located at ROM_TIMERTABLE[13].
Parameters:
ui32Base is the base address of the timer module.
ui32Timer specifies the timer; must be one of TIMER_A or TIMER_B.
Description:
This function gets the value of the input clock prescaler match value. When in a half-width
mode that uses the counter match and prescaler, the prescale match effectively extends the
range of the match.
Returns:
The value of the timer prescale match.
21.2.1.23 ROM_TimerPrescaleMatchSet
Set the timer prescale match value.
Prototype:
void
ROM_TimerPrescaleMatchSet(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_TimerPrescaleMatchSet is a function pointer located at ROM_TIMERTABLE[12].
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.
ui32Value is the timer prescale match value which must be between 0 and 255 (inclusive) for
16/32-bit timers and between 0 and 65535 (inclusive) for 32/64-bit timers.
Description:
This function sets the value of the input clock prescaler match value. When in a half-width
mode that uses the counter match and the prescaler, the prescale match effectively extends
the range of the match.
Returns:
None.
21.2.1.24 ROM_TimerPrescaleSet
Set the timer prescale value.
April 8, 2013 245