Type Alias atsamd21g::tcc0::waveb::WAVEGENB_R

source ·
pub type WAVEGENB_R = FieldReader<WAVEGENBSELECT_A>;
Expand description

Field WAVEGENB reader - Waveform Generation Buffer

Aliased Type§

struct WAVEGENB_R { /* private fields */ }

Implementations§

source§

impl WAVEGENB_R

source

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