Type Alias gd32f1::gd32f130::timer1::smcfg::EtpscW

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

Field ETPSC writer - External trigger prescaler

Aliased Type§

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

Implementations§

source§

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

source

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

External trigger prescaler disabled

source

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

ETI frequency divided by 2

source

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

ETI frequency divided by 4

source

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

ETI frequency divided by 8