Struct stm32f7xx_hal::pac::usart1::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {
pub cr1: Reg<u32, _CR1>,
pub cr2: Reg<u32, _CR2>,
pub cr3: Reg<u32, _CR3>,
pub brr: Reg<u32, _BRR>,
pub gtpr: Reg<u32, _GTPR>,
pub rtor: Reg<u32, _RTOR>,
pub rqr: Reg<u32, _RQR>,
pub isr: Reg<u32, _ISR>,
pub icr: Reg<u32, _ICR>,
pub rdr: Reg<u32, _RDR>,
pub tdr: Reg<u32, _TDR>,
}
Expand description
Register block
Fields
cr1: Reg<u32, _CR1>
0x00 - Control register 1
cr2: Reg<u32, _CR2>
0x04 - Control register 2
cr3: Reg<u32, _CR3>
0x08 - Control register 3
brr: Reg<u32, _BRR>
0x0c - Baud rate register
gtpr: Reg<u32, _GTPR>
0x10 - Guard time and prescaler register
rtor: Reg<u32, _RTOR>
0x14 - Receiver timeout register
rqr: Reg<u32, _RQR>
0x18 - Request register
isr: Reg<u32, _ISR>
0x1c - Interrupt & status register
icr: Reg<u32, _ICR>
0x20 - Interrupt flag clear register
rdr: Reg<u32, _RDR>
0x24 - Receive data register
tdr: Reg<u32, _TDR>
0x28 - Transmit data register