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
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
[src]
impl Exception
pub fn irqn(&self) -> i8
[src]
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 Clone for Exception
[src]
impl Clone for Exception
fn clone(&self) -> Exception
[src]
fn clone(&self) -> Exception
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Exception
[src]
impl Copy for Exception
impl Debug for Exception
[src]
impl Debug for Exception
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Exception
[src]
impl Eq for Exception
impl PartialEq for Exception
[src]
impl PartialEq for Exception