Timer
Prototype:
void
ROM_TimerPrescaleSet(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_TimerPrescaleSet is a function pointer located at ROM_TIMERTABLE[10].
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 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. The prescaler is only operational when
in half-width mode and is used to extend the range of the half-width timer modes.
Returns:
None.
21.2.1.25 ROM_TimerRTCDisable
Disable RTC counting.
Prototype:
void
ROM_TimerRTCDisable(uint32_t ui32Base)
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_TimerRTCDisable is a function pointer located at ROM_TIMERTABLE[9].
Parameters:
ui32Base is the base address of the timer module.
Description:
This function causes the timer to stop counting when in RTC mode.
Returns:
None.
21.2.1.26 ROM_TimerRTCEnable
Enable RTC counting.
246 April 8, 2013