Type Alias atsamd51p::sys_tick::rvr::W

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

Register RVR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn reload(&mut self) -> RELOAD_W<'_, RVR_SPEC, 0>

Bits 0:23 - Value to load into the SysTick Current Value Register when the counter reaches 0

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