Type Alias xmc4300::can_node0::nfcr::CfmodR

source ·
pub type CfmodR = FieldReader<Cfmod>;
Expand description

Field CFMOD reader - CAN Frame Counter Mode

Aliased Type§

struct CfmodR { /* private fields */ }

Implementations§

source§

impl CfmodR

source

pub const fn variant(&self) -> Cfmod

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Frame Count Mode: The frame counter is incremented upon the reception and transmission of frames.

source

pub fn is_value2(&self) -> bool

Time Stamp Mode: The frame counter is used to count bit times.

source

pub fn is_value3(&self) -> bool

Bit Timing Mode: The frame counter is used for analysis of the bit timing.

source

pub fn is_value4(&self) -> bool

Error Count Mode: The frame counter is used for counting when an error frame is received or an error is detected by the node.