Type Alias atsame70n21b::pwm0::etrg1::TRGMODE_R

source ·
pub type TRGMODE_R = FieldReader<TRGMODESELECT_A>;
Expand description

Field TRGMODE reader - External Trigger Mode

Aliased Type§

struct TRGMODE_R { /* private fields */ }

Implementations§

source§

impl TRGMODE_R

source

pub fn variant(&self) -> TRGMODESELECT_A

Get enumerated values variant

source

pub fn is_off(&self) -> bool

Checks if the value of the field is OFF

source

pub fn is_mode1(&self) -> bool

Checks if the value of the field is MODE1

source

pub fn is_mode2(&self) -> bool

Checks if the value of the field is MODE2

source

pub fn is_mode3(&self) -> bool

Checks if the value of the field is MODE3