Type Alias atsame54n::tcc0::ccbuf::W

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

Register CCBUF[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn ccbuf(&mut self) -> CCBUF_W<'_, CCBUF_SPEC, 0>

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