Type Alias atsame70n21b::mcan0::psr::LEC_R

source ·
pub type LEC_R = FieldReader<LECSELECT_A>;
Expand description

Field LEC reader - Last Error Code (set to 111 on read)

Aliased Type§

struct LEC_R { /* private fields */ }

Implementations§

source§

impl LEC_R

source

pub fn variant(&self) -> LECSELECT_A

Get enumerated values variant

source

pub fn is_no_error(&self) -> bool

Checks if the value of the field is NO_ERROR

source

pub fn is_stuff_error(&self) -> bool

Checks if the value of the field is STUFF_ERROR

source

pub fn is_form_error(&self) -> bool

Checks if the value of the field is FORM_ERROR

source

pub fn is_ack_error(&self) -> bool

Checks if the value of the field is ACK_ERROR

source

pub fn is_bit1_error(&self) -> bool

Checks if the value of the field is BIT1_ERROR

source

pub fn is_bit0_error(&self) -> bool

Checks if the value of the field is BIT0_ERROR

source

pub fn is_crc_error(&self) -> bool

Checks if the value of the field is CRC_ERROR

source

pub fn is_no_change(&self) -> bool

Checks if the value of the field is NO_CHANGE