Type Alias gd32f1::gd32f190::wwdgt::cfg::W

source ·
pub type W = W<CfgSpec>;
Expand description

Register CFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:6 - The Window value

source

pub fn psc(&mut self) -> PscW<'_, CfgSpec>

Bits 7:8 - Prescaler

source

pub fn ewie(&mut self) -> EwieW<'_, CfgSpec>

Bit 9 - Early wakeup interrupt enable