[][src]Type Definition lpc54606_pac::wwdt::mod_::W

type W = W<u32, MOD>;

Writer for register MOD

Methods

impl W[src]

pub fn wden(&mut self) -> WDEN_W[src]

Bit 0 - Watchdog enable bit. Once this bit is set to one and a watchdog feed is performed, the watchdog timer will run permanently.

pub fn wdreset(&mut self) -> WDRESET_W[src]

Bit 1 - Watchdog reset enable bit. Once this bit has been written with a 1 it cannot be re-written with a 0.

pub fn wdtof(&mut self) -> WDTOF_W[src]

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.

pub fn wdint(&mut self) -> WDINT_W[src]

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.

pub fn wdprotect(&mut self) -> WDPROTECT_W[src]

Bit 4 - Watchdog update mode. This bit can be set once by software and is only cleared by a reset.

pub fn lock(&mut self) -> LOCK_W[src]

Bit 5 - Once this bit is set to one and a watchdog feed is performed, disabling or powering down the watchdog oscillator is prevented by hardware. This bit can be set once by software and is only cleared by any reset.