Struct drone_cortexm::map::reg::fpu::fpccr::Hold [−][src]
Floating-point context control register.
Implementations
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]
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> Send for Hold<'a, _T>
impl<'a, _T> Sync for Hold<'a, _T>
impl<'a, _T> Unpin for Hold<'a, _T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,