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