Type Alias rp2040_pac::ppb::syst_cvr::W

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

Register SYST_CVR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:23 - Reads return the current value of the SysTick counter. This register is write-clear. Writing to it with any value clears the register to 0. Clearing this register also clears the COUNTFLAG bit of the SysTick Control and Status Register.

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