Type Alias gd32f1::gd32f130::timer0::smcfg::TrgsR

source ·
pub type TrgsR = FieldReader<Trgs>;
Expand description

Field TRGS reader - Trigger selection

Aliased Type§

struct TrgsR { /* private fields */ }

Implementations§

source§

impl TrgsR

source

pub const fn variant(&self) -> Option<Trgs>

Get enumerated values variant

source

pub fn is_iti0(&self) -> bool

Internal Trigger 0 (ITI0)

source

pub fn is_iti1(&self) -> bool

Internal Trigger 1 (ITI1)

source

pub fn is_iti2(&self) -> bool

Internal Trigger 2 (ITI2)

source

pub fn is_ci0f_ed(&self) -> bool

CI0 Edge Detector (CI0F_ED)

source

pub fn is_ci0fe0(&self) -> bool

Filtered Timer Input 0 (CI0FE0)

source

pub fn is_ci1fe1(&self) -> bool

Filtered Timer Input 1 (CI1FE1)

source

pub fn is_etifp(&self) -> bool

External Trigger input (ETIFP)