Type Definition gd32f1::gd32f170::timer1::smcfg::W[][src]

type W = W<u16, SMCFG>;

Writer for register SMCFG

Implementations

impl W[src]

pub fn etp(&mut self) -> ETP_W<'_>[src]

Bit 15 - External trigger polarity

pub fn smc1(&mut self) -> SMC1_W<'_>[src]

Bit 14 - Part of SMC for enable External clock mode1

pub fn etpsc(&mut self) -> ETPSC_W<'_>[src]

Bits 12:13 - External trigger prescaler

pub fn etfc(&mut self) -> ETFC_W<'_>[src]

Bits 8:11 - External trigger filter control

pub fn msm(&mut self) -> MSM_W<'_>[src]

Bit 7 - Master/Slave mode

pub fn trgs(&mut self) -> TRGS_W<'_>[src]

Bits 4:6 - Trigger selection

pub fn ocrc(&mut self) -> OCRC_W<'_>[src]

Bit 3 - OCREF clear source selection

pub fn smc(&mut self) -> SMC_W<'_>[src]

Bits 0:2 - Slave mode control