Skip to main content

Module timer

Module timer 

Source
Expand description

CPU counters and built-in comparator capabilities for the selected target.

Structs§

Timer
Exclusive, non-migrating access to one CPU timer comparator. Dropping this view does not change timer or interrupt state.
TimerControl
Generic timer control and read-only condition flags.

Enums§

TimerKind
A hardware comparator bank; selecting a bank does not select an IRQ route.

Functions§

counter_frequency
Reads the frequency advertised by CNTFRQ_EL0, in Hz. Platform calibration and validation of this value remain with the caller.
physical_counter
Reads the physical system counter after instruction synchronization.
virtual_counter
Reads the virtual system counter, including the installed virtual offset.