atsamd11c::tcc0::wave

Type Alias WavegenR

Source
pub type WavegenR = FieldReader<Wavegenselect>;
Expand description

Field WAVEGEN reader - Waveform Generation

Aliased Type§

struct WavegenR { /* private fields */ }

Implementations§

Source§

impl WavegenR

Source

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

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