Type Alias atsamd21e::tcc0::cc_dith4::W

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

Register CC%s_DITH4 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn dithercy(&mut self) -> DITHERCY_W<'_, CC_DITH4_SPEC, 0>

Bits 0:3 - Dithering Cycle Number

source

pub fn cc(&mut self) -> CC_W<'_, CC_DITH4_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