We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ae94a commit f985f53Copy full SHA for f985f53
riscv/src/register/mtopi.rs
@@ -24,7 +24,7 @@
24
read_only_csr! {
25
/// Machine Top Priority Interrupt Register
26
Mtopi: 0x7C0,
27
- mask: usize::MAX,
+ mask: 0x0FFF_FFFF,
28
}
29
30
read_only_csr_field! {
@@ -41,8 +41,8 @@ read_only_csr_field! {
41
/// Interrupt Priority ID (bits 0..7)
42
///
43
/// Represents the priority level of the pending interrupt.
44
- /// Higher numerical values indicate higher priority interrupts.
45
- ipid: [0:7],
+ /// Lower numerical values indicate higher priority interrupts.
+ iprio: [0:7],
46
47
48
impl Mtopi {
0 commit comments