Type Alias atsame54n::tc0::count8::cc::W

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

Register CC[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cc(&mut self) -> CC_W<'_, CC_SPEC, 0>

Bits 0:7 - Counter/Compare Value

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual