pub struct UART16550<A: RegisterAccess = ActualRegisterAccess> { /* private fields */ }
Available on x86 or x86-64 only.
Expand description
Driver for a PC UART based on the National Semiconductor 16550.
Implementations§
Trait Implementations§
Source§impl<A: RegisterAccess> UART for UART16550<A>
impl<A: RegisterAccess> UART for UART16550<A>
Source§fn set_line_mode(&mut self, line_mode: LineMode)
fn set_line_mode(&mut self, line_mode: LineMode)
Update the device’s line protocol mode.
Auto Trait Implementations§
impl<A> Freeze for UART16550<A>where
A: Freeze,
impl<A> RefUnwindSafe for UART16550<A>where
A: RefUnwindSafe,
impl<A> Send for UART16550<A>where
A: Send,
impl<A> Sync for UART16550<A>where
A: Sync,
impl<A> Unpin for UART16550<A>where
A: Unpin,
impl<A> UnwindSafe for UART16550<A>where
A: UnwindSafe,
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