Type Alias gd32f1::gd32f130::timer0::ctl0::CkdivW

source ·
pub type CkdivW<'a, REG> = FieldWriter<'a, REG, 2, Ckdiv>;
Expand description

Field CKDIV writer - Clock division

Aliased Type§

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

Implementations§

source§

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

source

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

t_DTS = t_CK_INT

source

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

t_DTS = 2 × t_CK_INT

source

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

t_DTS = 4 × t_CK_INT