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
NMI
Non-maskable interrupt
HardFault
Other type of faults and unhandled faults
MenManage
Memory protection related fault
BusFault
Pre-fetch or memory access fault
UsageFault
Fault due to undefined instruction or illegal state
SVCall
Supervisor call
PendSV
Pendable request for system-level service
SysTick
System 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