pub struct UARTPL011<'a> {
pub register_block: &'a mut RegisterBlock,
pub base_clock_rate: u32,
}
Expand description
Driver for the PL011 UART.
Fields§
§register_block: &'a mut RegisterBlock
Memory-mapped registers for this device.
base_clock_rate: u32
Frequency, in hertz, of the clock input to the UART.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for UARTPL011<'a>
impl<'a> RefUnwindSafe for UARTPL011<'a>
impl<'a> Send for UARTPL011<'a>
impl<'a> Sync for UARTPL011<'a>
impl<'a> Unpin for UARTPL011<'a>
impl<'a> !UnwindSafe for UARTPL011<'a>
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