pub struct W(_);
Expand description
Register TSCC
writer
Implementations
sourceimpl W
impl W
sourcepub fn tss(&mut self) -> TSS_W<'_, 0>
pub fn tss(&mut self) -> TSS_W<'_, 0>
Bits 0:1 - Timestamp select 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 tcp(&mut self) -> TCP_W<'_, 16>
pub fn tcp(&mut self) -> TCP_W<'_, 16>
Bits 16:19 - Timestamp counter prescaler Configures the timestamp and timeout counters time unit in multiples of CAN bit times [1 ⦠16]. The actual interpretation by the hardware of this value is such that one more than the value programmed here is used. In CAN FD mode the internal timestamp counter TCP does not provide a constant time base due to the different CAN bit times between arbitration phase and data phase. Thus CAN FD requires an external counter for timestamp generation (TSS = 10). 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<TSCC_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