#[repr(C)]pub struct RegisterBlock {
pub dr: DR,
pub idr: IDR,
pub cr: CR,
}
Expand description
Register block
Fields§
§dr: DR
0x00 - Data register
idr: IDR
0x04 - Independent Data register
cr: CR
0x08 - Control register
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