Struct stm32f30x::usart1::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub cr1: CR1,
pub cr2: CR2,
pub cr3: CR3,
pub brr: BRR,
pub gtpr: GTPR,
pub rtor: RTOR,
pub rqr: RQR,
pub isr: ISR,
pub icr: ICR,
pub rdr: RDR,
pub tdr: TDR,
}
Expand description
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
gtpr: GTPR
0x10 - Guard time and prescaler register
rtor: RTOR
0x14 - Receiver timeout 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
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more