[][src]Type Definition k22f::wdog::stctrlh::W

type W = W<u16, STCTRLH>;

Writer for register STCTRLH

Methods

impl W[src]

pub fn wdogen(&mut self) -> WDOGEN_W[src]

Bit 0 - Enables or disables the WDOG's operation

pub fn clksrc(&mut self) -> CLKSRC_W[src]

Bit 1 - Selects clock source for the WDOG timer and other internal timing operations.

pub fn irqrsten(&mut self) -> IRQRSTEN_W[src]

Bit 2 - Used to enable the debug breadcrumbs feature

pub fn winen(&mut self) -> WINEN_W[src]

Bit 3 - Enables Windowing mode.

pub fn allowupdate(&mut self) -> ALLOWUPDATE_W[src]

Bit 4 - Enables updates to watchdog write-once registers, after the reset-triggered initial configuration window (WCT) closes, through unlock sequence

pub fn dbgen(&mut self) -> DBGEN_W[src]

Bit 5 - Enables or disables WDOG in Debug mode.

pub fn stopen(&mut self) -> STOPEN_W[src]

Bit 6 - Enables or disables WDOG in Stop mode.

pub fn waiten(&mut self) -> WAITEN_W[src]

Bit 7 - Enables or disables WDOG in Wait mode.

pub fn testwdog(&mut self) -> TESTWDOG_W[src]

Bit 10 - Puts the watchdog in the functional test mode

pub fn testsel(&mut self) -> TESTSEL_W[src]

Bit 11 - Effective only if TESTWDOG is set. Selects the test to be run on the watchdog timer.

pub fn bytesel(&mut self) -> BYTESEL_W[src]

Bits 12:13 - This 2-bit field selects the byte to be tested when the watchdog is in the byte test mode.

pub fn distestwdog(&mut self) -> DISTESTWDOG_W[src]

Bit 14 - Allows the WDOG's functional test mode to be disabled permanently