Type Alias gd32f1::gd32f130::adc::ctl1::EtsrcW

source ·
pub type EtsrcW<'a, REG> = FieldWriterSafe<'a, REG, 3, Etsrc>;
Expand description

Field ETSRC writer - External trigger select for regular channel

Aliased Type§

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

Implementations§

source§

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

source

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

Timer 0 channel 0 event

source

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

Timer 0 channel 1 event

source

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

Timer 0 channel 2 event

source

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

Timer 1 channel 1 event

source

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

Timer 2 TRGO event

source

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

Timer 14 channel 0 event

source

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

EXTI line 11

source

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

SWRCST