pub struct W(_);
Expand description
Register NBTP
writer
Implementations
sourceimpl W
impl W
sourcepub fn ntseg2(&mut self) -> NTSEG2_W<'_, 0>
pub fn ntseg2(&mut self) -> NTSEG2_W<'_, 0>
Bits 0:6 - Nominal time segment after sample point Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that one more than the programmed value is used.
sourcepub fn ntseg1(&mut self) -> NTSEG1_W<'_, 8>
pub fn ntseg1(&mut self) -> NTSEG1_W<'_, 8>
Bits 8:15 - Nominal time segment before sample point Valid values are 0 to 255. The actual interpretation by the hardware of this value is such that one more than the programmed value is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1.
sourcepub fn nbrp(&mut self) -> NBRP_W<'_, 16>
pub fn nbrp(&mut self) -> NBRP_W<'_, 16>
Bits 16:24 - Bit rate prescaler Value by which the oscillator frequency is divided for generating the bit time quanta. The bit time is built up from a multiple of this quanta. Valid values are 0 to 511. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1.
sourcepub fn nsjw(&mut self) -> NSJW_W<'_, 25>
pub fn nsjw(&mut self) -> NSJW_W<'_, 25>
Bits 25:31 - Nominal (re)synchronization jump width Valid values are 0 to 127. The actual interpretation by the hardware of this value is such that the used value is the one programmed incremented by one. These are protected write (P) bits, write access is possible only when the bit 1 [CCE] and bit 0 [INIT] of CCCR register are set to 1.
Methods from Deref<Target = W<NBTP_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