pub struct W(/* private fields */);
Expand description
Register FPSCR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn ioc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 0>
pub fn ioc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 0>
Bit 0 - Invalid operation cumulative exception bit
Sourcepub fn dzc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 1>
pub fn dzc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 1>
Bit 1 - Division by zero cumulative exception bit.
Sourcepub fn ofc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 2>
pub fn ofc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 2>
Bit 2 - Overflow cumulative exception bit
Sourcepub fn ufc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 3>
pub fn ufc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 3>
Bit 3 - Underflow cumulative exception bit
Sourcepub fn ixc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 4>
pub fn ixc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 4>
Bit 4 - Inexact cumulative exception bit
Sourcepub fn idc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 7>
pub fn idc(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 7>
Bit 7 - Input denormal cumulative exception bit.
Sourcepub fn rmode(
&mut self,
) -> FieldWriterRaw<'_, u32, FPSCR_SPEC, u8, u8, Unsafe, 2, 22>
pub fn rmode( &mut self, ) -> FieldWriterRaw<'_, u32, FPSCR_SPEC, u8, u8, Unsafe, 2, 22>
Bits 22:23 - Rounding Mode control field
Sourcepub fn fz(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 24>
pub fn fz(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 24>
Bit 24 - Flush-to-zero mode control bit:
Sourcepub fn dn(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 25>
pub fn dn(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 25>
Bit 25 - Default NaN mode control bit
Sourcepub fn ahp(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 26>
pub fn ahp(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 26>
Bit 26 - Alternative half-precision control bit
Sourcepub fn v(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 28>
pub fn v(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 28>
Bit 28 - Overflow condition code flag
Sourcepub fn c(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 29>
pub fn c(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 29>
Bit 29 - Carry condition code flag
Sourcepub fn z(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 30>
pub fn z(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 30>
Bit 30 - Zero condition code flag
Sourcepub fn n(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 31>
pub fn n(&mut self) -> BitWriterRaw<'_, u32, FPSCR_SPEC, bool, BitM, 31>
Bit 31 - Negative condition code flag
Methods from Deref<Target = W<FPSCR_SPEC>>§
Sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more