Module core_timer

Source
Expand description

Core timer (CPO count and compare registers)

Functions to access the CP0 registers 9 and 11 using the (privileged) MIPS instructions mfc0 and mtc0.

Functions§

read_compare
Read compare register (CP0 register 11, select 0)
read_count
Read count register (CP0 register 9, select 0)
write_compare
Write compare register (CP0 register 11, select 0)
write_count
Write count register (CP0 register 9, select 0)