Struct uart_pl011::Pl011_Regs
source · #[repr(C)]pub struct Pl011_Regs {Show 22 fields
pub uartdr: Volatile<u32>,
pub uartrsr: Volatile<u32>,
pub uartfr: ReadOnly<u32>,
pub uartilpr: Volatile<u32>,
pub uartibrd: Volatile<u32>,
pub uartfbrd: Volatile<u32>,
pub uartlcr_h: Volatile<u32>,
pub uartcr: Volatile<u32>,
pub uartifls: Volatile<u32>,
pub uartimsc: Volatile<u32>,
pub uartris: ReadOnly<u32>,
pub uartmis: ReadOnly<u32>,
pub uarticr: WriteOnly<u32>,
pub uartdmacr: Volatile<u32>,
pub uartperiphid0: ReadOnly<u32>,
pub uartperiphid1: ReadOnly<u32>,
pub uartperiphid2: ReadOnly<u32>,
pub uartperiphid3: ReadOnly<u32>,
pub uartpcellid0: ReadOnly<u32>,
pub uartpcellid1: ReadOnly<u32>,
pub uartpcellid2: ReadOnly<u32>,
pub uartpcellid3: ReadOnly<u32>,
/* private fields */
}
Expand description
Struct representing Pl011 registers. Not intended to be directly used
Fields§
§uartdr: Volatile<u32>
Data Register
uartrsr: Volatile<u32>
receive status / error clear
uartfr: ReadOnly<u32>
flag register
uartilpr: Volatile<u32>
IrDA Low power counter register
uartibrd: Volatile<u32>
integer baud rate
uartfbrd: Volatile<u32>
fractional baud rate
uartlcr_h: Volatile<u32>
line control
uartcr: Volatile<u32>
control
uartifls: Volatile<u32>
interrupt fifo level select
uartimsc: Volatile<u32>
interrupt mask set/clear
uartris: ReadOnly<u32>
raw interrupt status
uartmis: ReadOnly<u32>
masked interrupt status
uarticr: WriteOnly<u32>
interrupt clear
uartdmacr: Volatile<u32>
dma control
uartperiphid0: ReadOnly<u32>
UART Periph ID0
uartperiphid1: ReadOnly<u32>
UART Periph ID1
uartperiphid2: ReadOnly<u32>
UART Periph ID2
uartperiphid3: ReadOnly<u32>
UART Periph ID3
uartpcellid0: ReadOnly<u32>
UART PCell ID0
uartpcellid1: ReadOnly<u32>
UART PCell ID1
uartpcellid2: ReadOnly<u32>
UART PCell ID2
uartpcellid3: ReadOnly<u32>
UART PCell ID3
Trait Implementations§
source§impl Debug for Pl011_Regs
impl Debug for Pl011_Regs
impl FromBytes for Pl011_Regs
Auto Trait Implementations§
impl RefUnwindSafe for Pl011_Regs
impl Send for Pl011_Regs
impl Sync for Pl011_Regs
impl Unpin for Pl011_Regs
impl UnwindSafe for Pl011_Regs
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