[][src]Enum cortex_m::register::primask::Primask

pub enum Primask {
    Active,
    Inactive,
}

All exceptions with configurable priority are ...

Variants

Active

Active

Inactive

Inactive

Implementations

impl Primask[src]

pub fn is_active(self) -> bool[src]

All exceptions with configurable priority are active

pub fn is_inactive(self) -> bool[src]

All exceptions with configurable priority are inactive

Trait Implementations

impl Clone for Primask[src]

impl Copy for Primask[src]

impl Debug for Primask[src]

impl Eq for Primask[src]

impl PartialEq<Primask> for Primask[src]

impl StructuralEq for Primask[src]

impl StructuralPartialEq for Primask[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.