Type Alias rp2040_pac::pll_sys::cs::R

source ·
pub type R = R<CS_SPEC>;
Expand description

Register CS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn refdiv(&self) -> REFDIV_R

Bits 0:5 - Divides the PLL input reference clock.
Behaviour is undefined for div=0.
PLL output will be unpredictable during refdiv changes, wait for lock=1 before using it.

source

pub fn bypass(&self) -> BYPASS_R

Bit 8 - Passes the reference clock to the output instead of the divided VCO. The VCO continues to run so the user can switch between the reference clock and the divided VCO but the output will glitch when doing so.

source

pub fn lock(&self) -> LOCK_R

Bit 31 - PLL is locked