Type Alias xmc4300::can_node0::nbtr::W

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

Register NBTR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn brp(&mut self) -> BRP_W<'_, NBTR_SPEC>

Bits 0:5 - Baud Rate Prescaler

source

pub fn sjw(&mut self) -> SJW_W<'_, NBTR_SPEC>

Bits 6:7 - (Re) Synchronization Jump Width

source

pub fn tseg1(&mut self) -> TSEG1_W<'_, NBTR_SPEC>

Bits 8:11 - Time Segment Before Sample Point

source

pub fn tseg2(&mut self) -> TSEG2_W<'_, NBTR_SPEC>

Bits 12:14 - Time Segment After Sample Point

source

pub fn div8(&mut self) -> DIV8_W<'_, NBTR_SPEC>

Bit 15 - Divide Prescaler Clock by 8