[−][src]Struct drone_cortex_m::map::reg::fpu::fpccr::Hold
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][−]
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][−]
Trait Implementations
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][+]
U: Into<T>,
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,