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

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)

Methods

impl VectActive[src]

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

Converts a byte into VectActive

Trait Implementations

impl PartialEq<VectActive> for VectActive[src]

impl Eq for VectActive[src]

impl Clone for VectActive[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VectActive[src]

impl Copy for VectActive[src]

Auto Trait Implementations

impl Send for VectActive

impl Sync for VectActive

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

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

type Output = T

Should always be Self