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]
impl Exceptionpub fn irqn(&self) -> i8[src]
pub fn irqn(&self) -> i8Returns 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 Exceptionfn clone(&self) -> Exception[src]
fn clone(&self) -> ExceptionReturns 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 Exceptionimpl Debug for Exception[src]
impl Debug for Exceptionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Exception[src]
impl Eq for Exceptionimpl PartialEq for Exception[src]
impl PartialEq for Exception