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]
pub 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
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