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