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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Exception
[src]

impl Debug for Exception
[src]

Formats the value using the given formatter. Read more

impl Eq for Exception
[src]

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

impl Sync for Exception