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
ThreadMode
i.e. currently not servicing an exception
Nmi
Non-maskable interrupt.
HardFault
All class of fault.
MemoryManagementFault
Memory management.
BusFault
Pre-fetch fault, memory access fault.
UsageFault
Undefined instruction or illegal state.
SVCall
System service call via SWI instruction
PendSV
Pendable request for system service
Systick
System tick timer
Interrupt(u8)
An interrupt
Methods
impl Exception
[src]
impl Exception
Trait Implementations
impl Clone for Exception
[src]
impl Clone for Exception
fn clone(&self) -> Exception
[src]
fn clone(&self) -> Exception
Returns 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 Exception
impl Debug for Exception
[src]
impl Debug for Exception
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Exception
[src]
impl Eq for Exception
impl PartialEq for Exception
[src]
impl PartialEq for Exception