Type Alias atsame54n::tc0::count16::wave::WAVEGEN_R

source ·
pub type WAVEGEN_R = FieldReader<WAVEGENSELECT_A>;
Expand description

Field WAVEGEN reader - Waveform Generation Mode

Aliased Type§

struct WAVEGEN_R { /* private fields */ }

Implementations§

source§

impl WAVEGEN_R

source

pub const fn variant(&self) -> WAVEGENSELECT_A

Get enumerated values variant

source

pub fn is_nfrq(&self) -> bool

Normal frequency

source

pub fn is_mfrq(&self) -> bool

Match frequency

source

pub fn is_npwm(&self) -> bool

Normal PWM

source

pub fn is_mpwm(&self) -> bool

Match PWM