Type Alias atsame54n::can0::psr::LEC_R

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

Field LEC reader - Last Error Code

Aliased Type§

struct LEC_R { /* private fields */ }

Implementations§

source§

impl LEC_R

source

pub const fn variant(&self) -> LECSELECT_A

Get enumerated values variant

source

pub fn is_none(&self) -> bool

No Error

source

pub fn is_stuff(&self) -> bool

Stuff Error

source

pub fn is_form(&self) -> bool

Form Error

source

pub fn is_ack(&self) -> bool

Ack Error

source

pub fn is_bit1(&self) -> bool

Bit1 Error

source

pub fn is_bit0(&self) -> bool

Bit0 Error

source

pub fn is_crc(&self) -> bool

CRC Error

source

pub fn is_nc(&self) -> bool

No Change