Enum cortex_m::register::control::Npriv
[−]
[src]
pub enum Npriv { Privileged, Unprivileged, }
Thread mode privilege level
Variants
Privileged
Privileged
Unprivileged
Unprivileged
Methods
impl Npriv
[src]
fn is_privileged(&self) -> bool
Is in privileged thread mode?
fn is_unprivileged(&self) -> bool
Is in unprivileged thread mode?
Trait Implementations
impl Clone for Npriv
[src]
fn clone(&self) -> Npriv
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more