Struct esp32s3_hal::pac::twai::err_code_cap::R
pub struct R(_);
Expand description
Register ERR_CODE_CAP
reader
Implementations§
§impl R
impl R
pub fn ecc_segment(&self) -> FieldReaderRaw<u8, u8>
pub fn ecc_segment(&self) -> FieldReaderRaw<u8, u8>
Bits 0:4 - This register contains information about the location of errors, see Table 181 for details.
pub fn ecc_direction(&self) -> BitReaderRaw<bool>
pub fn ecc_direction(&self) -> BitReaderRaw<bool>
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
Methods from Deref<Target = R<ERR_CODE_CAP_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<ERR_CODE_CAP_SPEC>> for R
impl From<R<ERR_CODE_CAP_SPEC>> for R
§fn from(reader: R<ERR_CODE_CAP_SPEC>) -> R
fn from(reader: R<ERR_CODE_CAP_SPEC>) -> R
Converts to this type from the input type.