W

Type Alias W 

pub type W = W<CsSpec>;
Expand description

Register CS writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

§

impl W

pub fn stop(&mut self) -> StopW<'_, CsSpec>

Bit 0 - Stop Enable

pub fn wait(&mut self) -> WaitW<'_, CsSpec>

Bit 1 - Wait Enable

pub fn dbg(&mut self) -> DbgW<'_, CsSpec>

Bit 2 - Debug Enable

pub fn tst(&mut self) -> TstW<'_, CsSpec>

Bits 3:4 - Watchdog Test

pub fn update(&mut self) -> UpdateW<'_, CsSpec>

Bit 5 - Allow updates

pub fn int(&mut self) -> IntW<'_, CsSpec>

Bit 6 - Watchdog Interrupt

pub fn en(&mut self) -> EnW<'_, CsSpec>

Bit 7 - Watchdog Enable

pub fn clk(&mut self) -> ClkW<'_, CsSpec>

Bits 8:9 - Watchdog Clock

pub fn pres(&mut self) -> PresW<'_, CsSpec>

Bit 12 - Watchdog prescaler

pub fn cmd32en(&mut self) -> Cmd32enW<'_, CsSpec>

Bit 13 - Enables or disables WDOG support for 32-bit (otherwise 16-bit or 8-bit) refresh/unlock command write words

pub fn flg(&mut self) -> FlgW<'_, CsSpec>

Bit 14 - Watchdog Interrupt Flag

pub fn win(&mut self) -> WinW<'_, CsSpec>

Bit 15 - Watchdog Window