Type Alias atsame54n::tcc0::wave::WAVEGEN_W

source ·
pub type WAVEGEN_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 3, O, WAVEGENSELECT_A>;
Expand description

Field WAVEGEN writer - Waveform Generation

Aliased Type§

struct WAVEGEN_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> WAVEGEN_W<'a, REG, O>
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