Struct esp32c3::twai0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock { /* private fields */ }
Expand description
Register block
Implementations§
source§impl RegisterBlock
impl RegisterBlock
sourcepub const fn bus_timing_0(&self) -> &BUS_TIMING_0
pub const fn bus_timing_0(&self) -> &BUS_TIMING_0
0x18 - Bus Timing Register 0
sourcepub const fn bus_timing_1(&self) -> &BUS_TIMING_1
pub const fn bus_timing_1(&self) -> &BUS_TIMING_1
0x1c - Bus Timing Register 1
sourcepub const fn arb_lost_cap(&self) -> &ARB_LOST_CAP
pub const fn arb_lost_cap(&self) -> &ARB_LOST_CAP
0x2c - Arbitration Lost Capture Register
sourcepub const fn err_code_cap(&self) -> &ERR_CODE_CAP
pub const fn err_code_cap(&self) -> &ERR_CODE_CAP
0x30 - Error Code Capture Register
sourcepub const fn err_warning_limit(&self) -> &ERR_WARNING_LIMIT
pub const fn err_warning_limit(&self) -> &ERR_WARNING_LIMIT
0x34 - Error Warning Limit Register
sourcepub const fn rx_err_cnt(&self) -> &RX_ERR_CNT
pub const fn rx_err_cnt(&self) -> &RX_ERR_CNT
0x38 - Receive Error Counter Register
sourcepub const fn tx_err_cnt(&self) -> &TX_ERR_CNT
pub const fn tx_err_cnt(&self) -> &TX_ERR_CNT
0x3c - Transmit Error Counter Register
sourcepub const fn rx_message_cnt(&self) -> &RX_MESSAGE_CNT
pub const fn rx_message_cnt(&self) -> &RX_MESSAGE_CNT
0x74 - Receive Message Counter Register
sourcepub const fn clock_divider(&self) -> &CLOCK_DIVIDER
pub const fn clock_divider(&self) -> &CLOCK_DIVIDER
0x7c - Clock Divider register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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