MODE
RWVector mode
MODE (bits 1:0) — Vector mode.
What This Field Controls
- - Vector mode
Common Values
This field is better understood together with surrounding context than as a fixed memorized enumeration.
↗Open Official ManualUser-mode trap vector base address. (Compatibility entry for legacy or non-current ratified base privileged specifications; confirm the source extension before use.)
Vector mode
MODE (bits 1:0) — Vector mode.
This field is better understood together with surrounding context than as a fixed memorized enumeration.
↗Open Official ManualTrap handler base
BASE (bits XLEN-1:2) — Trap handler base.
This field is better understood together with surrounding context than as a fixed memorized enumeration.
↗Open Official ManualDuring initialization or the relevant privileged flow, software reads utvec to observe the current state.
Modify only the target fields while preserving all other bits.
Read back the CSR or validate through later trap, interrupt, or context-switch behavior that the setting took effect.