Type Alias gd32f1::gd32f190::timer0::smcfg::W

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

Register SMCFG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn smc(&mut self) -> SmcW<'_, SmcfgSpec>

Bits 0:2 - Slave mode control

source

pub fn ocrc(&mut self) -> OcrcW<'_, SmcfgSpec>

Bit 3 - OCPRE clear source selection

source

pub fn trgs(&mut self) -> TrgsW<'_, SmcfgSpec>

Bits 4:6 - Trigger selection

source

pub fn msm(&mut self) -> MsmW<'_, SmcfgSpec>

Bit 7 - Master/Slave mode

source

pub fn etfc(&mut self) -> EtfcW<'_, SmcfgSpec>

Bits 8:11 - External trigger filter control

source

pub fn etpsc(&mut self) -> EtpscW<'_, SmcfgSpec>

Bits 12:13 - External trigger prescaler

source

pub fn smc1(&mut self) -> Smc1W<'_, SmcfgSpec>

Bit 14 - Part of SMC for enable External clock mode1

source

pub fn etp(&mut self) -> EtpW<'_, SmcfgSpec>

Bit 15 - External trigger polarity