Enum nucleo_f401re::register::control::Npriv
source · pub enum Npriv {
Privileged,
Unprivileged,
}
Expand description
Thread mode privilege level
Variants§
Implementations§
source§impl Npriv
impl Npriv
sourcepub fn is_privileged(self) -> bool
pub fn is_privileged(self) -> bool
Is in privileged thread mode?
sourcepub fn is_unprivileged(self) -> bool
pub fn is_unprivileged(self) -> bool
Is in unprivileged thread mode?