Timer
Prototype:
void
ROM_TimerControlWaitOnTrigger(uint32_t ui32Base,
uint32_t ui32Timer,
bool bWait)
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_TimerControlWaitOnTrigger is a function pointer located at
ROM_TIMERTABLE[22].
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.
bWait specifies if the timer should wait for a trigger input.
Description:
This function controls whether or not a timer waits for a trigger input to start counting. When
enabled, the previous timer in the trigger chain must count to its timeout in order for this timer
to start counting. Refer to the data sheet for a description of the trigger chain.
Returns:
None.
21.2.1.7 ROM_TimerDisable
Disables the timer(s).
Prototype:
void
ROM_TimerDisable(uint32_t ui32Base,
uint32_t ui32Timer)
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_TimerDisable is a function pointer located at ROM_TIMERTABLE[2].
Parameters:
ui32Base is the base address of the timer module.
ui32Timer specifies the timer(s) to disable; must be one of TIMER_A, TIMER_B, or
TIMER_BOTH.
Description:
This will disable operation of the timer module.
Returns:
None.
236 April 8, 2013