pub struct Mcause { /* private fields */ }Expand description
mcause register
Implementations§
source§impl Mcause
impl Mcause
sourcepub fn is_interrupt(&self) -> bool
pub fn is_interrupt(&self) -> bool
Is trap cause an interrupt.
sourcepub fn is_exception(&self) -> bool
pub fn is_exception(&self) -> bool
Is trap cause an exception.