atsamd11d::tcc0::wave

Type Alias WavegenW

Source
pub type WavegenW<'a, REG> = FieldWriter<'a, REG, 3, Wavegenselect>;
Expand description

Field WAVEGEN writer - Waveform Generation

Aliased Type§

struct WavegenW<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> WavegenW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

pub fn nfrq(self) -> &'a mut W<REG>

Normal frequency

Source

pub fn mfrq(self) -> &'a mut W<REG>

Match frequency

Source

pub fn npwm(self) -> &'a mut W<REG>

Normal PWM

Source

pub fn dscritical(self) -> &'a mut W<REG>

Dual-slope critical

Source

pub fn dsbottom(self) -> &'a mut W<REG>

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

Source

pub fn dsboth(self) -> &'a mut W<REG>

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

Source

pub fn dstop(self) -> &'a mut W<REG>

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