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

type R = R<u16, STCTRLH>;

Reader of register STCTRLH

Methods

impl R[src]

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

Bit 0 - Enables or disables the WDOG's operation

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

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

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

Bit 2 - Used to enable the debug breadcrumbs feature

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

Bit 3 - Enables Windowing mode.

pub fn allowupdate(&self) -> ALLOWUPDATE_R[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(&self) -> DBGEN_R[src]

Bit 5 - Enables or disables WDOG in Debug mode.

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

Bit 6 - Enables or disables WDOG in Stop mode.

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

Bit 7 - Enables or disables WDOG in Wait mode.

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

Bit 10 - Puts the watchdog in the functional test mode

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

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

pub fn bytesel(&self) -> BYTESEL_R[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(&self) -> DISTESTWDOG_R[src]

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