Type Definition efm32gg11b_pac::efm32gg11b840::can1::status::LEC_R

source ·
pub type LEC_R = FieldReader<u8, LEC_A>;
Expand description

Field LEC reader - Last Error Code

Implementations§

source§

impl LEC_R

source

pub fn variant(&self) -> LEC_A

Get enumerated values variant

source

pub fn is_none(&self) -> bool

Checks if the value of the field is NONE

source

pub fn is_stuff(&self) -> bool

Checks if the value of the field is STUFF

source

pub fn is_form(&self) -> bool

Checks if the value of the field is FORM

source

pub fn is_ack(&self) -> bool

Checks if the value of the field is ACK

source

pub fn is_bit1(&self) -> bool

Checks if the value of the field is BIT1

source

pub fn is_bit0(&self) -> bool

Checks if the value of the field is BIT0

source

pub fn is_crc(&self) -> bool

Checks if the value of the field is CRC

source

pub fn is_unused(&self) -> bool

Checks if the value of the field is UNUSED