#[repr(C)]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: SR0x00 - Status register
dr: DR0x04 - Data register
brr: BRR0x08 - Baud rate register
cr1: CR10x0c - Control register 1
cr2: CR20x10 - Control register 2
cr3: CR30x14 - Control register 3
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