pub struct W(/* private fields */);
Expand description
Register BTR%s
writer
Implementations§
Source§impl W
impl W
Sourcepub fn accmod(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, ACCMOD_A, Safe, 2, 28>
pub fn accmod( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, ACCMOD_A, Safe, 2, 28>
Bits 28:29 - ACCMOD
Sourcepub fn datlat(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Safe, 4, 24>
pub fn datlat( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Safe, 4, 24>
Bits 24:27 - DATLAT
Sourcepub fn clkdiv(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 4, 20>
pub fn clkdiv( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 4, 20>
Bits 20:23 - CLKDIV
Sourcepub fn busturn(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Safe, 4, 16>
pub fn busturn( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Safe, 4, 16>
Bits 16:19 - BUSTURN
Sourcepub fn datast(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 8, 8>
pub fn datast( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - DATAST
Sourcepub fn addhld(
&mut self,
) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 4, 4>
pub fn addhld( &mut self, ) -> FieldWriterRaw<'_, u32, BTR_SPEC, u8, u8, Unsafe, 4, 4>
Bits 4:7 - ADDHLD
Methods from Deref<Target = W<BTR_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