Struct gd32f1::gd32f190::timer0::smcfg::W [−][src]
pub struct W(_);
Register SMCFG
writer
Implementations
impl W
[src]
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 - OCPRE clear source selection
pub fn smc(&mut self) -> SMC_W<'_>
[src]
Bits 0:2 - Slave mode control
pub unsafe fn bits(&mut self, bits: u16) -> &mut Self
[src]
Writes raw bits to the register.