Type Alias gd32f1::gd32f130::timer0::smcfg::Smc1W

source ·
pub type Smc1W<'a, REG> = BitWriter<'a, REG, Smc1>;
Expand description

Field SMC1 writer - Part of SMC for enable External clock mode1

Aliased Type§

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

Implementations§

source§

impl<'a, REG> Smc1W<'a, REG>
where REG: Writable + RegisterSpec,

source

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

External clock mode 1 disabled

source

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

External clock mode 1 enabled. The counter is clocked by any active edge on the ETIF signal.