Struct gd32f1x0_hal::pac::wwdgt::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ctl: Reg<CTL_SPEC>,
pub cfg: Reg<CFG_SPEC>,
pub stat: Reg<STAT_SPEC>,
}
Expand description
Register block
Fields
ctl: Reg<CTL_SPEC>
0x00 - Control register
cfg: Reg<CFG_SPEC>
0x04 - Configuration register
stat: Reg<STAT_SPEC>
0x08 - Status register
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