Type Alias gd32f1::gd32f190::timer1::smcfg::R

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

Register SMCFG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn smc(&self) -> SmcR

Bits 0:2 - Slave mode control

source

pub fn ocrc(&self) -> OcrcR

Bit 3 - OCREF clear source selection

source

pub fn trgs(&self) -> TrgsR

Bits 4:6 - Trigger selection

source

pub fn msm(&self) -> MsmR

Bit 7 - Master/Slave mode

source

pub fn etfc(&self) -> EtfcR

Bits 8:11 - External trigger filter control

source

pub fn etpsc(&self) -> EtpscR

Bits 12:13 - External trigger prescaler

source

pub fn smc1(&self) -> Smc1R

Bit 14 - Part of SMC for enable External clock mode1

source

pub fn etp(&self) -> EtpR

Bit 15 - External trigger polarity