pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn uart2_ctrl(&self) -> &UART2_CTRL
pub const fn uart2_ctrl(&self) -> &UART2_CTRL
0x00 - UART control register
Sourcepub const fn uart2_baud(&self) -> &UART2_BAUD
pub const fn uart2_baud(&self) -> &UART2_BAUD
0x04 - UART Baud Rate Configuration Register
Sourcepub const fn uart2_fifo(&self) -> &UART2_FIFO
pub const fn uart2_fifo(&self) -> &UART2_FIFO
0x18 - UART FIFO control register
Sourcepub const fn uart2_rxto(&self) -> &UART2_RXTO
pub const fn uart2_rxto(&self) -> &UART2_RXTO
0x20 - UART Receive Timeout Configuration 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