pub type LEC_R = FieldReader<u8, LECSELECT_A>;
Expand description
Field LEC
reader - Last Error Code (set to 111 on read)
Implementations
sourceimpl LEC_R
impl LEC_R
sourcepub fn variant(&self) -> LECSELECT_A
pub fn variant(&self) -> LECSELECT_A
Get enumerated values variant
sourcepub fn is_no_error(&self) -> bool
pub fn is_no_error(&self) -> bool
Checks if the value of the field is NO_ERROR
sourcepub fn is_stuff_error(&self) -> bool
pub fn is_stuff_error(&self) -> bool
Checks if the value of the field is STUFF_ERROR
sourcepub fn is_form_error(&self) -> bool
pub fn is_form_error(&self) -> bool
Checks if the value of the field is FORM_ERROR
sourcepub fn is_ack_error(&self) -> bool
pub fn is_ack_error(&self) -> bool
Checks if the value of the field is ACK_ERROR
sourcepub fn is_bit1_error(&self) -> bool
pub fn is_bit1_error(&self) -> bool
Checks if the value of the field is BIT1_ERROR
sourcepub fn is_bit0_error(&self) -> bool
pub fn is_bit0_error(&self) -> bool
Checks if the value of the field is BIT0_ERROR
sourcepub fn is_crc_error(&self) -> bool
pub fn is_crc_error(&self) -> bool
Checks if the value of the field is CRC_ERROR
sourcepub fn is_no_change(&self) -> bool
pub fn is_no_change(&self) -> bool
Checks if the value of the field is NO_CHANGE