Type Alias atsame54n::tcc0::perbuf::W

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

Register PERBUF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn perbuf(&mut self) -> PERBUF_W<'_, PERBUF_SPEC, 0>

Bits 0:23 - Period 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