Type Alias rp2040_pac::pll_sys::prim::W

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

Register PRIM writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn postdiv2(&mut self) -> POSTDIV2_W<'_, PRIM_SPEC>

Bits 12:14 - divide by 1-7

source

pub fn postdiv1(&mut self) -> POSTDIV1_W<'_, PRIM_SPEC>

Bits 16:18 - divide by 1-7

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