pub struct RegisterBlock {Show 18 fields
pub lcr: Reg<LCR_SPEC>,
pub mcr: Reg<MCR_SPEC>,
pub lsr: Reg<LSR_SPEC>,
pub msr: Reg<MSR_SPEC>,
pub sch: Reg<SCH_SPEC>,
pub usr: Reg<USR_SPEC>,
pub tfl: Reg<TFL_SPEC>,
pub rfl: Reg<RFL_SPEC>,
pub halt: Reg<HALT_SPEC>,
pub dbg_dll: Reg<DBG_DLL_SPEC>,
pub dbg_dlh: Reg<DBG_DLH_SPEC>,
pub rs485_ctl: Reg<RS485_CTL_SPEC>,
pub rs485_addr_match: Reg<RS485_ADDR_MATCH_SPEC>,
pub rs485_bus_idle_chk: Reg<RS485_BUS_IDLE_CHK_SPEC>,
pub tx_dly: Reg<TX_DLY_SPEC>,
pub bdcr: Reg<BDCR_SPEC>,
pub bdclr: Reg<BDCLR_SPEC>,
pub bdchr: Reg<BDCHR_SPEC>,
/* private fields */
}Expand description
Register block
Fields§
§lcr: Reg<LCR_SPEC>0x0c - UART Line Control Register
mcr: Reg<MCR_SPEC>0x10 - UART Modem Control Register
lsr: Reg<LSR_SPEC>0x14 - UART Line Status Register
msr: Reg<MSR_SPEC>0x18 - UART Modem Status Register
sch: Reg<SCH_SPEC>0x1c - UART Scratch Register
usr: Reg<USR_SPEC>0x7c - UART Status Register
tfl: Reg<TFL_SPEC>0x80 - UART Transmit FIFO Level Register
rfl: Reg<RFL_SPEC>0x84 - UART Receive FIFO Level Register
halt: Reg<HALT_SPEC>0xa4 - UART Halt TX Register
dbg_dll: Reg<DBG_DLL_SPEC>0xb0 - UART Debug DLL Register
dbg_dlh: Reg<DBG_DLH_SPEC>0xb4 - UART Debug DLH Register
rs485_ctl: Reg<RS485_CTL_SPEC>0xc0 - UART RS485 Control and Status Register
rs485_addr_match: Reg<RS485_ADDR_MATCH_SPEC>0xc4 - UART RS485 Address Match Register
rs485_bus_idle_chk: Reg<RS485_BUS_IDLE_CHK_SPEC>0xc8 - UART RS485 Bus Idle Check Register
tx_dly: Reg<TX_DLY_SPEC>0xcc - UART TX Delay Register
bdcr: Reg<BDCR_SPEC>0xd4 - UART Baudrate Detection Control Register
bdclr: Reg<BDCLR_SPEC>0xd8 - UART Baudrate Detection Counter Low Register
bdchr: Reg<BDCHR_SPEC>0xdc - UART Baudrate Detection Counter High Register
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
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