pub struct PL011Uart {
inner: NullLock<PL011UartInner>,
}Expand description
Representation of the UART.
Fields§
§inner: NullLock<PL011UartInner>Implementations§
Trait Implementations§
Source§impl DeviceDriver for PL011Uart
impl DeviceDriver for PL011Uart
Source§impl Statistics for PL011Uart
impl Statistics for PL011Uart
Source§fn chars_written(&self) -> usize
fn chars_written(&self) -> usize
Return the number of character written.
Source§fn chars_read(&self) -> usize
fn chars_read(&self) -> usize
Return the number of characters read.
Source§impl Write for PL011Uart
impl Write for PL011Uart
Source§fn write_char(&self, c: char)
fn write_char(&self, c: char)
Passthrough of args to the core::fmt::Write implementation, but guarded by a Mutex to
serialize access.
impl All for PL011Uart
Auto Trait Implementations§
impl !Freeze for PL011Uart
impl !RefUnwindSafe for PL011Uart
impl Send for PL011Uart
impl Sync for PL011Uart
impl Unpin for PL011Uart
impl UnwindSafe for PL011Uart
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