Struct stm32l4x6::lpuart1::RegisterBlock
[−]
[src]
#[repr(C)]pub struct RegisterBlock { pub cr1: Cr1, pub cr2: Cr2, pub cr3: Cr3, pub brr: Brr, pub rqr: Rqr, pub isr: Isr, pub icr: Icr, pub rdr: Rdr, pub tdr: Tdr, // some fields omitted }
Register block
Fields
cr1: Cr1
0x00 - Control register 1
cr2: Cr2
0x04 - Control register 2
cr3: Cr3
0x08 - Control register 3
brr: Brr
0x0c - Baud rate register
rqr: Rqr
0x18 - Request register
isr: Isr
0x1c - Interrupt & status register
icr: Icr
0x20 - Interrupt flag clear register
rdr: Rdr
0x24 - Receive data register
tdr: Tdr
0x28 - Transmit data register