Type Alias atsame54n::tcc0::cc_dith6_mode::W

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

Register CC_DITH6_MODE[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:5 - Dithering Cycle Number

source

pub fn cc(&mut self) -> CC_W<'_, CC_DITH6_MODE_SPEC, 6>

Bits 6: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