Type Alias atsamd51p::sys_tick::cvr::W

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

Register CVR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn current(&mut self) -> CURRENT_W<'_, CVR_SPEC, 0>

Bits 0:23 - Current value at the time the register is accessed

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