W

Type Alias W 

pub type W = W<Ctrl1Spec>;
Expand description

Register CTRL1 writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

§

impl W

pub fn propseg(&mut self) -> PropsegW<'_, Ctrl1Spec>

Bits 0:2 - Propagation Segment

pub fn lom(&mut self) -> LomW<'_, Ctrl1Spec>

Bit 3 - Listen-Only Mode

pub fn lbuf(&mut self) -> LbufW<'_, Ctrl1Spec>

Bit 4 - Lowest Buffer Transmitted First

pub fn tsyn(&mut self) -> TsynW<'_, Ctrl1Spec>

Bit 5 - Timer Sync

pub fn boffrec(&mut self) -> BoffrecW<'_, Ctrl1Spec>

Bit 6 - Bus Off Recovery

pub fn smp(&mut self) -> SmpW<'_, Ctrl1Spec>

Bit 7 - CAN Bit Sampling

pub fn rwrnmsk(&mut self) -> RwrnmskW<'_, Ctrl1Spec>

Bit 10 - Rx Warning Interrupt Mask

pub fn twrnmsk(&mut self) -> TwrnmskW<'_, Ctrl1Spec>

Bit 11 - Tx Warning Interrupt Mask

pub fn lpb(&mut self) -> LpbW<'_, Ctrl1Spec>

Bit 12 - Loop Back Mode

pub fn clksrc(&mut self) -> ClksrcW<'_, Ctrl1Spec>

Bit 13 - CAN Engine Clock Source

pub fn errmsk(&mut self) -> ErrmskW<'_, Ctrl1Spec>

Bit 14 - Error Interrupt Mask

pub fn boffmsk(&mut self) -> BoffmskW<'_, Ctrl1Spec>

Bit 15 - Bus Off Interrupt Mask

pub fn pseg2(&mut self) -> Pseg2W<'_, Ctrl1Spec>

Bits 16:18 - Phase Segment 2

pub fn pseg1(&mut self) -> Pseg1W<'_, Ctrl1Spec>

Bits 19:21 - Phase Segment 1

pub fn rjw(&mut self) -> RjwW<'_, Ctrl1Spec>

Bits 22:23 - Resync Jump Width

pub fn presdiv(&mut self) -> PresdivW<'_, Ctrl1Spec>

Bits 24:31 - Prescaler Division Factor