pub struct W(/* private fields */);
Expand description
Register NBTP
writer
Implementations§
source§impl W
impl W
sourcepub fn nsjw(
&mut self
) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u8, u8, Unsafe, 7, 25>
pub fn nsjw( &mut self ) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u8, u8, Unsafe, 7, 25>
Bits 25:31 - NSJW: Nominal (Re)Synchronization Jump Width
sourcepub fn nbrp(
&mut self
) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u16, u16, Unsafe, 9, 16>
pub fn nbrp( &mut self ) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u16, u16, Unsafe, 9, 16>
Bits 16:24 - Bit Rate Prescaler
sourcepub fn ntseg1(
&mut self
) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u8, u8, Unsafe, 8, 8>
pub fn ntseg1( &mut self ) -> FieldWriterRaw<'_, u32, NBTP_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Nominal Time segment before sample point
Methods from Deref<Target = W<NBTP_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