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_TimerControlStall is a function pointer located at ROM_TIMERTABLE[7].
Parameters:
ui32Base is the base address of the timer module.
ui32Timer specifies the timer(s) to be adjusted; must be one of TIMER_A, TIMER_B, or
TIMER_BOTH.
bStall specifies the response to a stall signal.
Description:
This function controls the stall response for the specified timer. If the bStall parameter is true,
then the timer will stop counting if the processor enters debug mode; otherwise the timer will
keep running while in debug mode.
Returns:
None.
21.2.1.5 ROM_TimerControlTrigger
Enables or disables the trigger output.
Prototype:
void
ROM_TimerControlTrigger(uint32_t ui32Base,
uint32_t ui32Timer,
bool bEnable)
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_TimerControlTrigger is a function pointer located at ROM_TIMERTABLE[5].
Parameters:
ui32Base is the base address of the timer module.
ui32Timer specifies the timer to adjust; must be one of TIMER_A, TIMER_B, or
TIMER_BOTH.
bEnable specifies the desired trigger state.
Description:
This function controls the trigger output for the specified timer. If the bEnable parameter is
true, then the timer’s output trigger is enabled; otherwise it is disabled.
Returns:
None.
21.2.1.6 ROM_TimerControlWaitOnTrigger
Controls the wait on trigger handling.
April 8, 2013 235