Struct stm32f429i_disc::stm32f4::stm32f429::uart4::RegisterBlock
pub struct RegisterBlock {
pub sr: SR,
pub dr: DR,
pub brr: BRR,
pub cr1: CR1,
pub cr2: CR2,
pub cr3: CR3,
}
Expand description
Register block
Fields
sr: SR
0x00 - Status register
dr: DR
0x04 - Data register
brr: BRR
0x08 - Baud rate register
cr1: CR1
0x0c - Control register 1
cr2: CR2
0x10 - Control register 2
cr3: CR3
0x14 - Control register 3
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