Struct esp32c3::twai0::err_code_cap::R
source · pub struct R(_);
Expand description
Register ERR_CODE_CAP
reader
Implementations§
source§impl R
impl R
sourcepub fn ecc_segment(&self) -> ECC_SEGMENT_R
pub fn ecc_segment(&self) -> ECC_SEGMENT_R
Bits 0:4 - This register contains information about the location of errors, see Table 181 for details.
sourcepub fn ecc_direction(&self) -> ECC_DIRECTION_R
pub fn ecc_direction(&self) -> ECC_DIRECTION_R
Bit 5 - This register contains information about transmission direction of the node when error occurs. 1: Error occurs when receiving a message; 0: Error occurs when transmitting a message
sourcepub fn ecc_type(&self) -> ECC_TYPE_R
pub fn ecc_type(&self) -> ECC_TYPE_R
Bits 6:7 - This register contains information about error types: 00: bit error; 01: form error; 10: stuff error; 11: other type of error
Methods from Deref<Target = R<ERR_CODE_CAP_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more