pub struct W(_);
Expand description
Register DBTP
writer
Implementations
sourceimpl W
impl W
sourcepub fn dsjw(&mut self) -> DSJW_W<'_, 0>
pub fn dsjw(&mut self) -> DSJW_W<'_, 0>
Bits 0:3 - Synchronization jump width Must always be smaller than DTSEG2, valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1: tSJW = (DSJW + 1) x tq.
sourcepub fn dtseg2(&mut self) -> DTSEG2_W<'_, 4>
pub fn dtseg2(&mut self) -> DTSEG2_W<'_, 4>
Bits 4:7 - Data time segment after sample point Valid values are 0 to 15. The value used by the hardware is the one programmed, incremented by 1, i.e. tBS2 = (DTSEG2 + 1) x tq.
sourcepub fn dtseg1(&mut self) -> DTSEG1_W<'_, 8>
pub fn dtseg1(&mut self) -> DTSEG1_W<'_, 8>
Bits 8:12 - Data time segment before sample point Valid values are 0 to 31. The value used by the hardware is the one programmed, incremented by 1, i.e. tBS1 = (DTSEG1 + 1) x tq.
sourcepub fn dbrp(&mut self) -> DBRP_W<'_, 16>
pub fn dbrp(&mut self) -> DBRP_W<'_, 16>
Bits 16:20 - Data bit rate prescaler The value by which the oscillator frequency is divided to generate the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values for the Baud Rate Prescaler are 0 to 31. The hardware interpreters this value as the value programmed plus 1.
Methods from Deref<Target = W<DBTP_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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