Go to the documentation of this file.
18 #ifndef __LIBARCH_ARM_TIMER_H
19 #define __LIBARCH_ARM_TIMER_H
virtual Result tick()
Process timer tick.
Size m_initialTimerCounter
Currently configured initial timer counter.
void setPL1PhysicalTimerControl(const u32 value)
Set Physical Timer 1 control value.
Represents a configurable timer device.
void setPL1PhysicalTimerValue(const u32 value)
Set Physical Timer 1 value.
unsigned int u32
Unsigned 32-bit number.
static const u32 TimerControlEnable
Set this bit in the PL1 control register to enable it.
unsigned int Size
Any sane size indicator cannot go negative.
virtual Result setFrequency(const Size hertz)
Set timer frequency.
u32 getSystemFrequency(void) const
Retrieve system timer frequency.