pub struct W(_);
Expand description
Register CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn rrdy(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RRDY_A, BitM, 31>
pub fn rrdy(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, RRDY_A, BitM, 31>
Bit 31 - Result ready flag
sourcepub fn argsize(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, ARGSIZE_A, BitM, 22>
pub fn argsize(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, ARGSIZE_A, BitM, 22>
Bit 22 - Width of input data
sourcepub fn ressize(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, RESSIZE_A, BitM, 21>
pub fn ressize(
&mut self
) -> BitWriterRaw<'_, u32, CSR_SPEC, RESSIZE_A, BitM, 21>
Bit 21 - Width of output data
sourcepub fn nargs(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, NARGS_A, BitM, 20>
pub fn nargs(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, NARGS_A, BitM, 20>
Bit 20 - Number of arguments expected by the WDATA register
sourcepub fn nres(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, NRES_A, BitM, 19>
pub fn nres(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, NRES_A, BitM, 19>
Bit 19 - Number of results in the RDATA register
sourcepub fn dmawen(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, DMAWEN_A, BitM, 18>
pub fn dmawen(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, DMAWEN_A, BitM, 18>
Bit 18 - Enable DMA write channel
sourcepub fn dmaren(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, DMAREN_A, BitM, 17>
pub fn dmaren(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, DMAREN_A, BitM, 17>
Bit 17 - Enable DMA wread channel
sourcepub fn ien(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, IEN_A, BitM, 16>
pub fn ien(&mut self) -> BitWriterRaw<'_, u32, CSR_SPEC, IEN_A, BitM, 16>
Bit 16 - Enable interrupt
sourcepub fn scale(&mut self) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, u8, Safe, 3, 8>
pub fn scale(&mut self) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, u8, Safe, 3, 8>
Bits 8:10 - Scaling factor (2^-n for arguments, 2^n for results)
sourcepub fn precision(
&mut self
) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, PRECISION_A, Unsafe, 4, 4>
pub fn precision(
&mut self
) -> FieldWriterRaw<'_, u32, CSR_SPEC, u8, PRECISION_A, Unsafe, 4, 4>
Bits 4:7 - Precision required (number of iterations/cycles), where PRECISION = (number of iterations/4)
Methods from Deref<Target = W<CSR_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
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more