Timer
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.
ui32Event specifies the type of event; must be one of TIMER_EVENT_POS_EDGE,
TIMER_EVENT_NEG_EDGE, or TIMER_EVENT_BOTH_EDGES.
Description:
This function sets the signal edge(s) that triggers the timer when in capture mode.
Returns:
None.
21.2.1.3 ROM_TimerControlLevel
Controls the output level.
Prototype:
void
ROM_TimerControlLevel(uint32_t ui32Base,
uint32_t ui32Timer,
bool bInvert)
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_TimerControlLevel is a function pointer located at ROM_TIMERTABLE[4].
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.
bInvert specifies the output level.
Description:
This function sets the PWM output level for the specified timer. If the bInvert parameter is true,
then the timer’s output is made active low; otherwise, it is made active high.
Returns:
None.
21.2.1.4 ROM_TimerControlStall
Controls the stall handling.
Prototype:
void
ROM_TimerControlStall(uint32_t ui32Base,
uint32_t ui32Timer,
bool bStall)
234 April 8, 2013