pub struct RegisterBlock {Show 22 fields
pub bdh: BDH,
pub bdl: BDL,
pub c1: C1,
pub c2: C2,
pub s1: S1,
pub s2: S2,
pub c3: C3,
pub d: D,
pub ma1: MA1,
pub ma2: MA2,
pub c4: C4,
pub c5: C5,
pub ed: ED,
pub modem: MODEM,
pub ir: IR,
pub pfifo: PFIFO,
pub cfifo: CFIFO,
pub sfifo: SFIFO,
pub twfifo: TWFIFO,
pub tcfifo: TCFIFO,
pub rwfifo: RWFIFO,
pub rcfifo: RCFIFO,
/* private fields */
}Expand description
Register block
Fields§
§bdh: BDH0x00 - UART Baud Rate Registers:High
bdl: BDL0x01 - UART Baud Rate Registers: Low
c1: C10x02 - UART Control Register 1
c2: C20x03 - UART Control Register 2
s1: S10x04 - UART Status Register 1
s2: S20x05 - UART Status Register 2
c3: C30x06 - UART Control Register 3
d: D0x07 - UART Data Register
ma1: MA10x08 - UART Match Address Registers 1
ma2: MA20x09 - UART Match Address Registers 2
c4: C40x0a - UART Control Register 4
c5: C50x0b - UART Control Register 5
ed: ED0x0c - UART Extended Data Register
modem: MODEM0x0d - UART Modem Register
ir: IR0x0e - UART Infrared Register
pfifo: PFIFO0x10 - UART FIFO Parameters
cfifo: CFIFO0x11 - UART FIFO Control Register
sfifo: SFIFO0x12 - UART FIFO Status Register
twfifo: TWFIFO0x13 - UART FIFO Transmit Watermark
tcfifo: TCFIFO0x14 - UART FIFO Transmit Count
rwfifo: RWFIFO0x15 - UART FIFO Receive Watermark
rcfifo: RCFIFO0x16 - UART FIFO Receive Count
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin 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