[][src]Struct drone_cortex_m::map::reg::fpu::fpccr::Hold

pub struct Hold<'a, _T: RegTag> { /* fields omitted */ }

Floating-point context control register.

Methods

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn aspen(&self) -> bool[src]

When this bit is set to 1, execution of a floating-point instruction sets the CONTROL.FPCA bit to 1.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_aspen(&mut self) -> &mut Self[src]

When this bit is set to 1, execution of a floating-point instruction sets the CONTROL.FPCA bit to 1.

pub fn clear_aspen(&mut self) -> &mut Self[src]

When this bit is set to 1, execution of a floating-point instruction sets the CONTROL.FPCA bit to 1.

pub fn toggle_aspen(&mut self) -> &mut Self[src]

When this bit is set to 1, execution of a floating-point instruction sets the CONTROL.FPCA bit to 1.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn lspen(&self) -> bool[src]

Enables lazy context save of FP state.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn set_lspen(&mut self) -> &mut Self[src]

Enables lazy context save of FP state.

pub fn clear_lspen(&mut self) -> &mut Self[src]

Enables lazy context save of FP state.

pub fn toggle_lspen(&mut self) -> &mut Self[src]

Enables lazy context save of FP state.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn monrdy(&self) -> bool[src]

Indicates whether the software executing when the processor allocated the FP stack frame was able to set the DebugMonitor exception to pending.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn bfrdy(&self) -> bool[src]

Indicates whether the software executing when the processor allocated the FP stack frame was able to set the BusFault exception to pending.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn mmrdy(&self) -> bool[src]

Indicates whether the software executing when the processor allocated the FP stack frame was able to set the MemManage exception to pending.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn hfrdy(&self) -> bool[src]

Indicates whether the software executing when the processor allocated the FP stack frame was able to set the HardFault exception to pending.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn thread(&self) -> bool[src]

Indicates the processor mode when it allocated the FP stack frame.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn user(&self) -> bool[src]

Indicates the privilege level of the software executing when the processor allocated the FP stack frame.

impl<'a, _T: RegTag> Hold<'a, _T>[src]

pub fn lspact(&self) -> bool[src]

Indicates whether Lazy preservation of the FP state is active.

Trait Implementations

impl<'a, _T> RegHold<'a, _T, Reg<_T>> for Hold<'a, _T> where
    _T: RegTag
[src]

Auto Trait Implementations

impl<'a, _T> Unpin for Hold<'a, _T>

impl<'a, _T> Send for Hold<'a, _T>

impl<'a, _T> Sync for Hold<'a, _T>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]