pub struct W(/* private fields */);
Expand description
Register TWCR
writer
Implementations§
source§impl W
impl W
sourcepub fn totalw(
&mut self
) -> FieldWriterRaw<'_, u32, TWCR_SPEC, u16, u16, Safe, 12, 16>
pub fn totalw( &mut self ) -> FieldWriterRaw<'_, u32, TWCR_SPEC, u16, u16, Safe, 12, 16>
Bits 16:27 - Total Width (in units of pixel clock period)
Methods from Deref<Target = W<TWCR_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