Enum cortex_m::register::control::Spsel
[−]
[src]
pub enum Spsel { Msp, Psp, }
Currently active stack pointer
Variants
Msp
MSP is the current stack pointer
Psp
PSP is the current stack pointer
Methods
impl Spsel
[src]
fn is_msp(&self) -> bool
Is MSP the current stack pointer?
fn is_psp(&self) -> bool
Is PSP the current stack pointer?
Trait Implementations
impl Clone for Spsel
[src]
fn clone(&self) -> Spsel
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more