atsamd11c::tcc0::waveb

Type Alias WavegenbR

Source
pub type WavegenbR = FieldReader<Wavegenbselect>;
Expand description

Field WAVEGENB reader - Waveform Generation Buffer

Aliased Type§

struct WavegenbR { /* private fields */ }

Implementations§

Source§

impl WavegenbR

Source

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

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