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

Non-maskable interrupt

Other type of faults and unhandled faults

Memory protection related fault

Pre-fetch or memory access fault

Fault due to undefined instruction or illegal state

Supervisor call

Pendable request for system-level service

System timer exception

An interrupt

Methods

impl Exception
[src]

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Exception
[src]

impl Debug for Exception
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Exception
[src]

impl PartialEq for Exception
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.