[]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

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

Converts a byte into VectActive

Trait Implementations

impl PartialEq<VectActive> for VectActive

impl Eq for VectActive

impl Clone for VectActive

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

Performs copy-assignment from source. Read more

impl Copy for VectActive

impl Debug for VectActive

Auto Trait Implementations

impl Send for VectActive

impl Sync for VectActive

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self