Type Alias atsame51j::tcc0::cc_dith4_mode::W

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

Register CC_DITH4_MODE[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:3 - Dithering Cycle Number

source

pub fn cc(&mut self) -> CC_W<'_, CC_DITH4_MODE_SPEC, 4>

Bits 4:23 - Channel Compare/Capture 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