#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn tx_data(&self) -> &TX_DATA
pub const fn tx_data(&self) -> &TX_DATA
0x00 - valid to write to when tx_rdy is high, will trigger a transmit
Sourcepub const fn rx_data(&self) -> &RX_DATA
pub const fn rx_data(&self) -> &RX_DATA
0x04 - valid to read from when rx_avail is high, last received byte
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