pub struct W(_);
Expand description
Register DBTP
writer
Implementations
sourceimpl W
impl W
sourcepub fn dsjw(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 4, 0>
pub fn dsjw(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3 - Synchronization Jump Width
sourcepub fn dtseg2(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 4, 4>
pub fn dtseg2(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 4, 4>
Bits 4:7 - Data time segment after sample point
sourcepub fn dtseg1(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 5, 8>
pub fn dtseg1(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 5, 8>
Bits 8:12 - Data time segment after sample point
sourcepub fn dbrp(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 5, 16>
pub fn dbrp(
&mut self
) -> FieldWriterRaw<'_, u32, DBTP_SPEC, u8, u8, Unsafe, 5, 16>
Bits 16:20 - Data BIt Rate Prescaler
Methods from Deref<Target = W<DBTP_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