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

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

Active exception number

Variants

Thread mode

Processor core exception (internal interrupts)

Device specific exception (external interrupts)

Fields of Interrupt

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

Methods

impl VectActive
[src]

Converts a byte into VectActive

Trait Implementations

impl Clone for VectActive
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for VectActive
[src]

impl Debug for VectActive
[src]

Formats the value using the given formatter. Read more

impl Eq for VectActive
[src]

impl PartialEq for VectActive
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for VectActive

impl Sync for VectActive