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

pub enum Exception {
    NonMaskableInt,
    HardFault,
    MemoryManagement,
    BusFault,
    UsageFault,
    SecureFault,
    SVCall,
    DebugMonitor,
    PendSV,
    SysTick,
}

Processor core exceptions (internal interrupts)

Variants

Non maskable interrupt

Hard fault interrupt

Memory management interrupt (not present on Cortex-M0 variants)

Bus fault interrupt (not present on Cortex-M0 variants)

Usage fault interrupt (not present on Cortex-M0 variants)

Secure fault interrupt (only on ARMv8-M)

SV call interrupt

Debug monitor interrupt (not present on Cortex-M0 variants)

Pend SV interrupt

System Tick interrupt

Methods

impl Exception
[src]

Returns the IRQ number of this Exception

The return value is always within the closed range [-1, -14]

Trait Implementations

impl Debug for Exception
[src]

impl PartialEq<Exception> for Exception
[src]

This method tests for !=.

impl Eq for Exception
[src]

impl Copy for Exception
[src]

impl Clone for Exception
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Exception

impl Sync for Exception

Blanket Implementations

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

🔬 This is a nightly-only experimental API. (try_from)

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]

🔬 This is a nightly-only experimental API. (try_from)

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

Should always be Self