Enum cortex_m::peripheral::scb::VectActive[][src]

pub enum VectActive {
    ThreadMode,
    Exception(Exception),
    Interrupt {
        irqn: u8,
    },
}

Active exception number

Variants

ThreadMode

Thread mode

Exception(Exception)

Processor core exception (internal interrupts)

Interrupt

Device specific exception (external interrupts)

Fields of Interrupt

irqn: u8

Interrupt number. This number is always within half open range [0, 240)

Implementations

impl VectActive[src]

pub fn from(vect_active: u8) -> Option<VectActive>[src]

Converts a byte into VectActive

Trait Implementations

impl Clone for VectActive[src]

impl Copy for VectActive[src]

impl Debug for VectActive[src]

impl Eq for VectActive[src]

impl PartialEq<VectActive> for VectActive[src]

impl StructuralEq for VectActive[src]

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