Module mips_mcu::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 register (CP0 register 11, select 0)
- Read count register (CP0 register 9, select 0)
- Write compare register (CP0 register 11, select 0)
- Write count register (CP0 register 9, select 0)