Enum cortex_m::Exception [−][src]
pub enum Exception {
ThreadMode,
Nmi,
HardFault,
MemoryManagementFault,
BusFault,
UsageFault,
SVCall,
PendSV,
Systick,
Interrupt(u8),
// some variants omitted
}Kind of exception
Variants
ThreadModei.e. currently not servicing an exception
NmiNon-maskable interrupt.
HardFaultAll class of fault.
MemoryManagementFaultMemory management.
BusFaultPre-fetch fault, memory access fault.
UsageFaultUndefined instruction or illegal state.
SVCallSystem service call via SWI instruction
PendSVPendable request for system service
SystickSystem tick timer
Interrupt(u8)An interrupt
Methods
impl Exception[src]
impl ExceptionTrait 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