Struct esp32c6::twai0::err_code_cap::ERR_CODE_CAP_SPEC
source · pub struct ERR_CODE_CAP_SPEC;
Expand description
TWAI error info capture register.
You can read
this register and get err_code_cap::R
. See API.
Trait Implementations§
source§impl RegisterSpec for ERR_CODE_CAP_SPEC
impl RegisterSpec for ERR_CODE_CAP_SPEC
source§impl Resettable for ERR_CODE_CAP_SPEC
impl Resettable for ERR_CODE_CAP_SPEC
reset()
method sets ERR_CODE_CAP to value 0
source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <twai0::err_code_cap::ERR_CODE_CAP_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <twai0::err_code_cap::ERR_CODE_CAP_SPEC as generic::RegisterSpec>::Ux}
Reset value of the register.
source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Readable for ERR_CODE_CAP_SPEC
read()
method returns err_code_cap::R
reader structure
Auto Trait Implementations§
impl RefUnwindSafe for ERR_CODE_CAP_SPEC
impl Send for ERR_CODE_CAP_SPEC
impl Sync for ERR_CODE_CAP_SPEC
impl Unpin for ERR_CODE_CAP_SPEC
impl UnwindSafe for ERR_CODE_CAP_SPEC
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