[][src]Struct esp32_hal::interrupt::InterruptLevel

pub struct InterruptLevel(pub usize);

Interrupt level.

Valid levels are 1 through 7. Level 6 is typically used for debug exceptions and level 7 for Non-Maskable Interrupts (NMI).

Level 0 is used to disable interrupts.

**Note: Level 7 (NMI) will not be disabled by the interrupt::free section. This risks race conditions in various places. **

Trait Implementations

impl Clone for InterruptLevel[src]

impl Copy for InterruptLevel[src]

impl Default for InterruptLevel[src]

impl Eq for InterruptLevel[src]

impl Hash for InterruptLevel[src]

impl Ord for InterruptLevel[src]

impl PartialEq<InterruptLevel> for InterruptLevel[src]

impl PartialOrd<InterruptLevel> for InterruptLevel[src]

impl StructuralEq for InterruptLevel[src]

impl StructuralPartialEq for InterruptLevel[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, 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.