#[repr(transparent)]pub struct Wdtclkdiv(pub u32);Expand description
WDT clock divider
Tuple Fields§
§0: u32Implementations§
Source§impl Wdtclkdiv
impl Wdtclkdiv
Sourcepub const fn reset(&self) -> WdtclkdivReset
pub const fn reset(&self) -> WdtclkdivReset
Resets the divider counter.
Sourcepub const fn set_reset(&mut self, val: WdtclkdivReset)
pub const fn set_reset(&mut self, val: WdtclkdivReset)
Resets the divider counter.
Sourcepub const fn halt(&self) -> WdtclkdivHalt
pub const fn halt(&self) -> WdtclkdivHalt
Halts the divider counter.
Sourcepub const fn set_halt(&mut self, val: WdtclkdivHalt)
pub const fn set_halt(&mut self, val: WdtclkdivHalt)
Halts the divider counter.
Sourcepub const fn reqflag(&self) -> WdtclkdivReqflag
pub const fn reqflag(&self) -> WdtclkdivReqflag
Divider status flag.
Sourcepub const fn set_reqflag(&mut self, val: WdtclkdivReqflag)
pub const fn set_reqflag(&mut self, val: WdtclkdivReqflag)
Divider status flag.
Trait Implementations§
impl Copy for Wdtclkdiv
impl Eq for Wdtclkdiv
impl StructuralPartialEq for Wdtclkdiv
Auto Trait Implementations§
impl Freeze for Wdtclkdiv
impl RefUnwindSafe for Wdtclkdiv
impl Send for Wdtclkdiv
impl Sync for Wdtclkdiv
impl Unpin for Wdtclkdiv
impl UnwindSafe for Wdtclkdiv
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