Type Alias atsamd51p::tcc0::wave::WAVEGEN_R

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

Field WAVEGEN reader - Waveform Generation

Aliased Type§

struct WAVEGEN_R { /* private fields */ }

Implementations§

source§

impl WAVEGEN_R

source

pub const fn variant(&self) -> Option<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_dscritical(&self) -> bool

Dual-slope critical

source

pub fn is_dsbottom(&self) -> bool

Dual-slope with interrupt/event condition when COUNT reaches ZERO

source

pub fn is_dsboth(&self) -> bool

Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP

source

pub fn is_dstop(&self) -> bool

Dual-slope with interrupt/event condition when COUNT reaches TOP