pub struct RegisterBlock {Show 21 fields
pub uartdr: UARTDR,
pub uartrsr_uartecr: UARTRSR_UARTECR,
pub uartfr: UARTFR,
pub uartilpr: UARTILPR,
pub uartibrd: UARTIBRD,
pub uartfbrd: UARTFBRD,
pub uartlcrh: UARTLCRH,
pub uartctl: UARTCTL,
pub uartifls: UARTIFLS,
pub uartim: UARTIM,
pub uartris: UARTRIS,
pub uartmis: UARTMIS,
pub uarticr: UARTICR,
pub uartdmactl: UARTDMACTL,
pub uartlctl: UARTLCTL,
pub uartlss: UARTLSS,
pub uartltim: UARTLTIM,
pub uart_9bitaddr: UART_9BITADDR,
pub uart_9bitamask: UART_9BITAMASK,
pub uartpp: UARTPP,
pub uartcc: UARTCC,
/* private fields */
}Expand description
Register block
Fields§
§uartdr: UARTDR0x00 - UART data register
uartrsr_uartecr: UARTRSR_UARTECR0x04 - UART receive status register/error clear register
uartfr: UARTFR0x18 - UART flag register
uartilpr: UARTILPR0x20 - UARTILPR
uartibrd: UARTIBRD0x24 - UART integer part of the baud-rate divisor value
uartfbrd: UARTFBRD0x28 - UART fractional part of the baud-rate divisor value
uartlcrh: UARTLCRH0x2c - UART line control register
uartctl: UARTCTL0x30 - UARTCTL
uartifls: UARTIFLS0x34 - UART interrupt FIFO level select
uartim: UARTIM0x38 - UART interrupt mask register
uartris: UARTRIS0x3c - UART raw interrupt status register
uartmis: UARTMIS0x40 - UART masked interrupt status register
uarticr: UARTICR0x44 - UART interrupt clear register
uartdmactl: UARTDMACTL0x48 - UART DMA control register
uartlctl: UARTLCTL0x90 - UARTLCTL
uartlss: UARTLSS0x94 - UARTLSS
uartltim: UARTLTIM0x98 - UARTLTIM
uart_9bitaddr: UART_9BITADDR0xa4 - UART_9BITADDR
uart_9bitamask: UART_9BITAMASK0xa8 - UART_9BITAMASK
uartpp: UARTPP0xfc0 - UARTPP
uartcc: UARTCC0xfc8 - UARTCC
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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