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

pub enum Exception {
    NonMaskableInt,
    HardFault,
    MemoryManagement,
    BusFault,
    UsageFault,
    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)

SVCall

SV call interrupt

DebugMonitor

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

PendSV

Pend SV interrupt

SysTick

System Tick interrupt

Methods

impl Exception

pub fn irqn(&self) -> i8

Returns the IRQ number of this Exception

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

Trait Implementations

impl PartialEq<Exception> for Exception

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for Exception

impl Clone for Exception

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

Performs copy-assignment from source. Read more

impl Copy for Exception

impl Debug for Exception

Auto Trait Implementations

impl Send for Exception

impl Sync for Exception

Blanket Implementations

impl<T> From for T[src]

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