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]

[src]

Is MSP the current stack pointer?

[src]

Is PSP the current stack pointer?

Trait Implementations

impl Clone for Spsel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Spsel
[src]

impl Debug for Spsel
[src]

[src]

Formats the value using the given formatter.

impl Eq for Spsel
[src]

impl PartialEq for Spsel
[src]

[src]

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

1.0.0
[src]

This method tests for !=.