Struct gd32f1x0_hal::pac::crc::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub data: Reg<DATA_SPEC>,
pub fdata: Reg<FDATA_SPEC>,
pub ctl: Reg<CTL_SPEC>,
pub idata: Reg<IDATA_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
data: Reg<DATA_SPEC>
0x00 - Data register
fdata: Reg<FDATA_SPEC>
0x04 - Free data register
ctl: Reg<CTL_SPEC>
0x08 - Control register
idata: Reg<IDATA_SPEC>
0x10 - Initial CRC value
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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