Type Definition atsam4s2a_pac::adc::mr::TRGSEL_R

source ·
pub type TRGSEL_R = FieldReader<u8, TRGSEL_A>;
Expand description

Field TRGSEL reader - Trigger Selection

Implementations§

source§

impl TRGSEL_R

source

pub fn variant(&self) -> Option<TRGSEL_A>

Get enumerated values variant

source

pub fn is_adc_trig0(&self) -> bool

Checks if the value of the field is ADC_TRIG0

source

pub fn is_adc_trig1(&self) -> bool

Checks if the value of the field is ADC_TRIG1

source

pub fn is_adc_trig2(&self) -> bool

Checks if the value of the field is ADC_TRIG2

source

pub fn is_adc_trig3(&self) -> bool

Checks if the value of the field is ADC_TRIG3

source

pub fn is_adc_trig4(&self) -> bool

Checks if the value of the field is ADC_TRIG4

source

pub fn is_adc_trig5(&self) -> bool

Checks if the value of the field is ADC_TRIG5