Timer
void ROM_TimerDisable (uint32_t ui32Base, uint32_t ui32Timer)
void ROM_TimerEnable (uint32_t ui32Base, uint32_t ui32Timer)
void ROM_TimerIntClear (uint32_t ui32Base, uint32_t ui32IntFlags)
void ROM_TimerIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags)
void ROM_TimerIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags)
uint32_t ROM_TimerIntStatus (uint32_t ui32Base, bool bMasked)
uint32_t ROM_TimerLoadGet (uint32_t ui32Base, uint32_t ui32Timer)
uint64_t ROM_TimerLoadGet64 (uint32_t ui32Base)
void ROM_TimerLoadSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
void ROM_TimerLoadSet64 (uint32_t ui32Base, uint64_t ui64Value)
uint32_t ROM_TimerMatchGet (uint32_t ui32Base, uint32_t ui32Timer)
uint64_t ROM_TimerMatchGet64 (uint32_t ui32Base)
void ROM_TimerMatchSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
void ROM_TimerMatchSet64 (uint32_t ui32Base, uint64_t ui64Value)
uint32_t ROM_TimerPrescaleGet (uint32_t ui32Base, uint32_t ui32Timer)
uint32_t ROM_TimerPrescaleMatchGet (uint32_t ui32Base, uint32_t ui32Timer)
void ROM_TimerPrescaleMatchSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t
ui32Value)
void ROM_TimerPrescaleSet (uint32_t ui32Base, uint32_t ui32Timer, uint32_t ui32Value)
void ROM_TimerRTCDisable (uint32_t ui32Base)
void ROM_TimerRTCEnable (uint32_t ui32Base)
uint32_t ROM_TimerValueGet (uint32_t ui32Base, uint32_t ui32Timer)
uint64_t ROM_TimerValueGet64 (uint32_t ui32Base)
21.2.1 Function Documentation
21.2.1.1 ROM_TimerConfigure
Configures the timer(s).
Prototype:
void
ROM_TimerConfigure(uint32_t ui32Base,
uint32_t ui32Config)
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_TimerConfigure is a function pointer located at ROM_TIMERTABLE[3].
Parameters:
ui32Base is the base address of the timer module.
ui32Config is the configuration for the timer.
Description:
This function configures the operating mode of the timer(s). The timer module is disabled
before being configured, and is left in the disabled state. There are two types of timers; a
16/32-bit variety and a 32/64-bit variety. The 16/32-bit variety is comprised of two 16-bit timers
232 April 8, 2013