Type Alias gd32f1::gd32f130::timer1::smcfg::EtfcW

source ·
pub type EtfcW<'a, REG> = FieldWriterSafe<'a, REG, 4, Etfc>;
Expand description

Field ETFC writer - External trigger filter control

Aliased Type§

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

Implementations§

source§

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

source

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

Filter disabled. fSAMP=fDTS, N=1

source

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

fSAMP=fTIMER_CK, N=2

source

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

fSAMP=fTIMER_CK, N=4

source

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

fSAMP=fTIMER_CK, N=8

source

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

fSAMP=fDTS/2, N=6

source

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

fSAMP=fDTS/2, N=8

source

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

fSAMP=fDTS/4, N=6

source

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

fSAMP=fDTS/4, N=8

source

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

fSAMP=fDTS/8, N=6

source

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

fSAMP=fDTS/8, N=8

source

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

fSAMP=fDTS/16, N=5

source

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

fSAMP=fDTS/16, N=6

source

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

fSAMP=fDTS/16, N=8

source

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

fSAMP=fDTS/32, N=5

source

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

fSAMP=fDTS/32, N=6

source

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

fSAMP=fDTS/32, N=8