pub struct W(_);
Expand description
Register MOD
writer
Implementations
sourceimpl W
impl W
sourcepub fn wden(&mut self) -> WDEN_W<'_>
pub fn wden(&mut self) -> WDEN_W<'_>
Bit 0 - Watchdog enable bit. Once this bit is set to one and a watchdog feed is performed, the watchdog timer will run permanently.
sourcepub fn wdreset(&mut self) -> WDRESET_W<'_>
pub fn wdreset(&mut self) -> WDRESET_W<'_>
Bit 1 - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.
sourcepub fn wdtof(&mut self) -> WDTOF_W<'_>
pub fn wdtof(&mut self) -> WDTOF_W<'_>
Bit 2 - Watchdog time-out flag. Set when the watchdog timer times out, by a feed error, or by events associated with WDPROTECT. Cleared by software writing a 0 to this bit position. Causes a chip reset if WDRESET = 1.
sourcepub fn wdint(&mut self) -> WDINT_W<'_>
pub fn wdint(&mut self) -> WDINT_W<'_>
Bit 3 - Warning interrupt flag. Set when the timer is at or below the value in WDWARNINT. Cleared by software writing a 1 to this bit position. Note that this bit cannot be cleared while the WARNINT value is equal to the value of the TV register. This can occur if the value of WARNINT is 0 and the WDRESET bit is 0 when TV decrements to 0.
sourcepub fn wdprotect(&mut self) -> WDPROTECT_W<'_>
pub fn wdprotect(&mut self) -> WDPROTECT_W<'_>
Bit 4 - Watchdog update mode. This bit can be set once by software and is only cleared by a reset.
Methods from Deref<Target = W<MOD_SPEC>>
Trait Implementations
Auto Trait Implementations
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