Type Alias gd32e1::gd32e103::adc1::ctl1::EtsrcR

source ·
pub type EtsrcR = FieldReader<Etsrc>;
Expand description

Field ETSRC reader - External trigger select for regular channel

Aliased Type§

struct EtsrcR { /* private fields */ }

Implementations§

source§

impl EtsrcR

source

pub const fn variant(&self) -> Etsrc

Get enumerated values variant

source

pub fn is_timer0ch0(&self) -> bool

Timer 0 channel 0 event

source

pub fn is_timer0ch1(&self) -> bool

Timer 0 channel 1 event

source

pub fn is_timer0ch2(&self) -> bool

Timer 0 channel 2 event

source

pub fn is_timer1ch1(&self) -> bool

Timer 1 channel 1 event

source

pub fn is_timer2trgo(&self) -> bool

Timer 2 TRGO event

source

pub fn is_timer14ch0(&self) -> bool

Timer 14 channel 0 event

source

pub fn is_exti11(&self) -> bool

EXTI line 11

source

pub fn is_swrcst(&self) -> bool

SWRCST