Type Alias atsame54n::tc0::count8::wave::WAVEGEN_W

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

Field WAVEGEN writer - Waveform Generation Mode

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 mpwm(self) -> &'a mut W<REG>

Match PWM