Type Alias atsame51j::can0::nbtp::W

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

Register NBTP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ntseg2(&mut self) -> NTSEG2_W<'_, NBTP_SPEC, 0>

Bits 0:6 - Nominal Time segment after sample point

source

pub fn ntseg1(&mut self) -> NTSEG1_W<'_, NBTP_SPEC, 8>

Bits 8:15 - Nominal Time segment before sample point

source

pub fn nbrp(&mut self) -> NBRP_W<'_, NBTP_SPEC, 16>

Bits 16:24 - Nominal Baud Rate Prescaler

source

pub fn nsjw(&mut self) -> NSJW_W<'_, NBTP_SPEC, 25>

Bits 25:31 - Nominal (Re)Synchronization Jump Width

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