Type Alias atsame54n::tc0::count16::count::W

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

Register COUNT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn count(&mut self) -> COUNT_W<'_, COUNT_SPEC, 0>

Bits 0:15 - Counter Value

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual