Machine Timer Register map¶
Created with Corsair v1.0.4.
Conventions¶
| Access mode | Description |
|---|---|
| rw | Read and Write |
| rw1c | Read and Write 1 to Clear |
| rw1s | Read and Write 1 to Set |
| ro | Read Only |
| roc | Read Only to Clear |
| roll | Read Only / Latch Low |
| rolh | Read Only / Latch High |
| wo | Write only |
| wosc | Write Only / Self Clear |
Register map summary¶
Base address: 0x10020000
| Name | Address | Description |
|---|---|---|
| MTIME | 0x00000000 | Machine-level time counter, low word. |
| MTIMEH | 0x00000004 | Machine-level time counter, high word. |
| MTIMECMP | 0x00000008 | Machine-level time compare, low word. |
| MTIMECMPH | 0x0000000c | Machine-level time compare, high word. |
| MTIMEBLK | 0x00000010 | Blocking time compare register. |
MTIME¶
Machine-level time counter, low word.
Address offset: 0x00000000
Reset value: 0x00000000
| Name | Bits | Mode | Reset | Description |
|---|---|---|---|---|
| VALUE | 31:0 | rw | 0x00000000 | Machine-level time counter, low word. |
Back to Register map.
MTIMEH¶
Machine-level time counter, high word.
Address offset: 0x00000004
Reset value: 0x00000000
| Name | Bits | Mode | Reset | Description |
|---|---|---|---|---|
| VALUE | 31:0 | rw | 0x00000000 | Machine-level time counter, high word. |
Back to Register map.
MTIMECMP¶
Machine-level time compare, low word.
Address offset: 0x00000008
Reset value: 0x00000000
| Name | Bits | Mode | Reset | Description |
|---|---|---|---|---|
| VALUE | 31:0 | rw | 0x00000000 | Machine-level time compare, low word. |
Back to Register map.
MTIMECMPH¶
Machine-level time compare, high word.
Address offset: 0x0000000c
Reset value: 0x00000000
| Name | Bits | Mode | Reset | Description |
|---|---|---|---|---|
| VALUE | 31:0 | rw | 0x00000000 | Machine-level time compare, high word. |
Back to Register map.
MTIMEBLK¶
Blocking time compare register.
Address offset: 0x00000010
Reset value: 0x00000000
| Name | Bits | Mode | Reset | Description |
|---|---|---|---|---|
| - | 31:8 | - | 0x000000 | Reserved |
| VALUE | 7:0 | rw | 0x00 | A write operation to this register blocks the CPU until the lower 8 bits of the MTIME register match the written value. |
Back to Register map.