Type Alias atsame51j::tcc0::perbuf_dith4_mode::W

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

Register PERBUF_DITH4_MODE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ditherbuf(&mut self) -> DITHERBUF_W<'_, PERBUF_DITH4_MODE_SPEC, 0>

Bits 0:3 - Dithering Buffer Cycle Number

source

pub fn perbuf(&mut self) -> PERBUF_W<'_, PERBUF_DITH4_MODE_SPEC, 4>

Bits 4:23 - Period Buffer 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