#[repr(C)]pub struct UartRegisters {
pub fifo: ReadWrite<u32>,
pub control: ReadWrite<u32, Register>,
pub status: ReadOnly<u32, Register>,
}Expand description
Describes the UART’s registers
Fields§
§fifo: ReadWrite<u32>Data FIFO
- Read here to get a byte from the FIFO
- Write here to put a byte into the FIFO
control: ReadWrite<u32, Register>Control Register
Adjust various UART settings
status: ReadOnly<u32, Register>Status Register
Read-only UART status
Auto Trait Implementations§
impl !Freeze for UartRegisters
impl !RefUnwindSafe for UartRegisters
impl Send for UartRegisters
impl !Sync for UartRegisters
impl Unpin for UartRegisters
impl UnwindSafe for UartRegisters
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