Struct ch32v1::iwdg::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub ctlr: Reg<CTLR_SPEC>,
pub pscr: Reg<PSCR_SPEC>,
pub rldr: Reg<RLDR_SPEC>,
pub statr: Reg<STATR_SPEC>,
}
Expand description
Register block
Fields
ctlr: Reg<CTLR_SPEC>
0x00 - Key register (IWDG_CTLR)
pscr: Reg<PSCR_SPEC>
0x04 - Prescaler register (IWDG_PSCR)
rldr: Reg<RLDR_SPEC>
0x08 - Reload register (IWDG_RLDR)
statr: Reg<STATR_SPEC>
0x0c - Status register (IWDG_SR)
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