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
NonMaskableIntNon maskable interrupt
HardFaultHard fault interrupt
MemoryManagementMemory management interrupt (not present on Cortex-M0 variants)
BusFaultBus fault interrupt (not present on Cortex-M0 variants)
UsageFaultUsage fault interrupt (not present on Cortex-M0 variants)
SVCallSV call interrupt
DebugMonitorDebug monitor interrupt (not present on Cortex-M0 variants)
PendSVPend SV interrupt
SysTickSystem 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 Clone for Exception[src]
fn clone(&self) -> Exception[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Exception[src]
impl Debug for Exception[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more