Type Alias gd32f1::gd32f190::wwdgt::cfg::PscW

source ·
pub type PscW<'a, REG> = FieldWriterSafe<'a, REG, 2, Psc>;
Expand description

Field PSC writer - Prescaler

Aliased Type§

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

Implementations§

source§

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

source

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

Counter clock (PCLK1 div 4096) div 1

source

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

Counter clock (PCLK1 div 4096) div 2

source

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

Counter clock (PCLK1 div 4096) div 4

source

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

Counter clock (PCLK1 div 4096) div 8