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

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

Processor core exceptions (internal interrupts)

Variants

NonMaskableInt

Non maskable interrupt

HardFault

Hard fault interrupt

MemoryManagement

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

BusFault

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

UsageFault

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

SecureFault

Secure fault interrupt (only on ARMv8-M)

SVCall

SV call interrupt

DebugMonitor

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

PendSV

Pend SV interrupt

SysTick

System Tick interrupt

Implementations

impl Exception[src]

pub fn irqn(self) -> i8[src]

Returns the IRQ number of this Exception

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

Trait Implementations

impl Clone for Exception[src]

impl Copy for Exception[src]

impl Debug for Exception[src]

impl Eq for Exception[src]

impl PartialEq<Exception> for Exception[src]

impl StructuralEq for Exception[src]

impl StructuralPartialEq for Exception[src]

Auto Trait Implementations

impl Send for Exception

impl Sync for Exception

impl Unpin for Exception

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, 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.