Skip to main content

R

Type Alias R 

Source
pub type R = R<Ctrl1Spec>;
Expand description

Register CTRL1 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn propseg(&self) -> PropsegR

Bits 0:2 - Propagation Segment

Source

pub fn lom(&self) -> LomR

Bit 3 - Listen-Only Mode

Source

pub fn lbuf(&self) -> LbufR

Bit 4 - Lowest Buffer Transmitted First

Source

pub fn tsyn(&self) -> TsynR

Bit 5 - Timer Sync

Source

pub fn boffrec(&self) -> BoffrecR

Bit 6 - Bus Off Recovery

Source

pub fn smp(&self) -> SmpR

Bit 7 - CAN Bit Sampling

Source

pub fn rwrnmsk(&self) -> RwrnmskR

Bit 10 - RX Warning Interrupt Mask

Source

pub fn twrnmsk(&self) -> TwrnmskR

Bit 11 - TX Warning Interrupt Mask

Source

pub fn lpb(&self) -> LpbR

Bit 12 - Loopback Mode

Source

pub fn errmsk(&self) -> ErrmskR

Bit 14 - Error Interrupt Mask

Source

pub fn boffmsk(&self) -> BoffmskR

Bit 15 - Bus Off Interrupt Mask

Source

pub fn pseg2(&self) -> Pseg2R

Bits 16:18 - Phase Segment 2

Source

pub fn pseg1(&self) -> Pseg1R

Bits 19:21 - Phase Segment 1

Source

pub fn rjw(&self) -> RjwR

Bits 22:23 - Resync Jump Width

Source

pub fn presdiv(&self) -> PresdivR

Bits 24:31 - Prescaler Division Factor