Enum cortex_m::exception::Exception
[−]
[src]
pub enum Exception {
NMI,
HardFault,
MenManage,
BusFault,
UsageFault,
SVCall,
PendSV,
SysTick,
Interrupt(u8),
// some variants omitted
}Enumeration of all the exception types
Variants
NMINon-maskable interrupt
HardFaultOther type of faults and unhandled faults
MenManageMemory protection related fault
BusFaultPre-fetch or memory access fault
UsageFaultFault due to undefined instruction or illegal state
SVCallSupervisor call
PendSVPendable request for system-level service
SysTickSystem timer exception
Interrupt(u8)An interrupt
Methods
impl Exception[src]
fn active() -> Option<Exception>[src]
Returns the type of the exception that's currently active
Returns None if no exception is currently active
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