pub struct R(_);
Expand description
Register MOD
reader
Implementations§
source§impl R
impl R
sourcepub fn wden(&self) -> WDEN_R
pub fn wden(&self) -> WDEN_R
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(&self) -> WDRESET_R
pub fn wdreset(&self) -> WDRESET_R
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(&self) -> WDTOF_R
pub fn wdtof(&self) -> WDTOF_R
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(&self) -> WDINT_R
pub fn wdint(&self) -> WDINT_R
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(&self) -> WDPROTECT_R
pub fn wdprotect(&self) -> WDPROTECT_R
Bit 4 - Watchdog update mode. This bit can be set once by software and is only cleared by a reset.