Type Alias atsame54n::can0::dbtp::W

source ·
pub type W = W<DBTP_SPEC>;
Expand description

Register DBTP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dsjw(&mut self) -> DSJW_W<'_, DBTP_SPEC, 0>

Bits 0:3 - Data (Re)Synchronization Jump Width

source

pub fn dtseg2(&mut self) -> DTSEG2_W<'_, DBTP_SPEC, 4>

Bits 4:7 - Data time segment after sample point

source

pub fn dtseg1(&mut self) -> DTSEG1_W<'_, DBTP_SPEC, 8>

Bits 8:12 - Data time segment before sample point

source

pub fn dbrp(&mut self) -> DBRP_W<'_, DBTP_SPEC, 16>

Bits 16:20 - Data Baud Rate Prescaler

source

pub fn tdc(&mut self) -> TDC_W<'_, DBTP_SPEC, 23>

Bit 23 - Tranceiver Delay Compensation

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual