Enum cortex_m::register::control::Npriv [] [src]

pub enum Npriv {
    Privileged,
    Unprivileged,
}

Thread mode privilege level

Variants

Privileged

Unprivileged

Methods

impl Npriv
[src]

[src]

Is in privileged thread mode?

[src]

Is in unprivileged thread mode?

Trait Implementations

impl Clone for Npriv
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Npriv
[src]

impl Debug for Npriv
[src]

[src]

Formats the value using the given formatter.

impl Eq for Npriv
[src]

impl PartialEq for Npriv
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.