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

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

Methods

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 PartialEq<Exception> for Exception[src]

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

This method tests for !=.

impl Eq for Exception[src]

impl Clone for Exception[src]

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

Performs copy-assignment from source. Read more

impl Debug for Exception[src]

impl Copy for Exception[src]

Auto Trait Implementations

impl Send for Exception

impl Sync for Exception

Blanket Implementations

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

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.

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

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

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self