Type Alias atsame54n::tcc0::per_dith4_mode::W

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

Register PER_DITH4_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dither(&mut self) -> DITHER_W<'_, PER_DITH4_MODE_SPEC, 0>

Bits 0:3 - Dithering Cycle Number

source

pub fn per(&mut self) -> PER_W<'_, PER_DITH4_MODE_SPEC, 4>

Bits 4:23 - Period Value

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual