pub struct W(/* private fields */);
Expand description
Register SQR2
writer
Implementations§
source§impl W
impl W
sourcepub fn sq12(
&mut self
) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 25>
pub fn sq12( &mut self ) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 25>
Bits 25:29 - 12th conversion in regular sequence
sourcepub fn sq11(
&mut self
) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 20>
pub fn sq11( &mut self ) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 20>
Bits 20:24 - 11th conversion in regular sequence
sourcepub fn sq10(
&mut self
) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 15>
pub fn sq10( &mut self ) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 15>
Bits 15:19 - 10th conversion in regular sequence
sourcepub fn sq9(
&mut self
) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 10>
pub fn sq9( &mut self ) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 10>
Bits 10:14 - 9th conversion in regular sequence
sourcepub fn sq8(
&mut self
) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 5>
pub fn sq8( &mut self ) -> FieldWriterRaw<'_, u32, SQR2_SPEC, u8, u8, Unsafe, 5, 5>
Bits 5:9 - 8th conversion in regular sequence
Methods from Deref<Target = W<SQR2_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§
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