Type Alias atsame54n::tc0::count8::wave::W

source ·
pub type W = W<WAVE_SPEC>;
Expand description

Register WAVE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wavegen(&mut self) -> WAVEGEN_W<'_, WAVE_SPEC, 0>

Bits 0:1 - Waveform Generation Mode

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual