TstW

Type Alias TstW 

pub type TstW<'a, REG> = FieldWriter<'a, REG, 2, Tst, Safe>;
Expand description

Field TST writer - Watchdog Test

Aliased Type§

pub struct TstW<'a, REG> { /* private fields */ }

Implementations§

§

impl<'a, REG> TstW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

pub fn _00(self) -> &'a mut W<REG>

Watchdog test mode disabled.

pub fn _01(self) -> &'a mut W<REG>

Watchdog user mode enabled. (Watchdog test mode disabled.) After testing the watchdog, software should use this setting to indicate that the watchdog is functioning normally in user mode.

pub fn _10(self) -> &'a mut W<REG>

Watchdog test mode enabled, only the low byte is used. CNT[CNTLOW] is compared with TOVAL[TOVALLOW].

pub fn _11(self) -> &'a mut W<REG>

Watchdog test mode enabled, only the high byte is used. CNT[CNTHIGH] is compared with TOVAL[TOVALHIGH].