Enum cortex_m::register::control::Spsel[][src]

pub enum Spsel {
    Msp,
    Psp,
}

Currently active stack pointer

Variants

MSP is the current stack pointer

PSP is the current stack pointer

Methods

impl Spsel
[src]

Is MSP the current stack pointer?

Is PSP the current stack pointer?

Trait Implementations

impl Clone for Spsel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Spsel
[src]

impl Debug for Spsel
[src]

Formats the value using the given formatter. Read more

impl Eq for Spsel
[src]

impl PartialEq for Spsel
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Spsel

impl Sync for Spsel