mtime
is a 64-bit read-write register that contains the number of cycles counted from the
rtc_toggle
signal described in the E31 Core Complex User Guide. A timer interrupt is pending
whenever
mtime
is greater than or equal to the value in the
mtimecmp
register. The timer inter-
rupt is reflected in the
mtip
bit of the
mip
register described in Chapter 5.
On reset,
mtime
is cleared to zero. The
mtimecmp
registers are not reset.
Copyright © 2017–2018, SiFive Inc. All rights reserved.
23