Struct rp2040_pac2::pll::regs::Cs[][src]

#[repr(transparent)]pub struct Cs(pub u32);

Control and Status GENERAL CONSTRAINTS: Reference clock frequency min=5MHz, max=800MHz Feedback divider min=16, max=320 VCO frequency min=400MHz, max=1600MHz

Implementations

impl Cs[src]

pub const fn lock(&self) -> bool[src]

PLL is locked

pub fn set_lock(&mut self, val: bool)[src]

PLL is locked

pub const fn bypass(&self) -> bool[src]

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.

pub fn set_bypass(&mut self, val: bool)[src]

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.

pub const fn refdiv(&self) -> u8[src]

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.

pub fn set_refdiv(&mut self, val: u8)[src]

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.

Trait Implementations

impl Clone for Cs[src]

impl Copy for Cs[src]

impl Default for Cs[src]

Auto Trait Implementations

impl Send for Cs

impl Sync for Cs

impl Unpin for Cs

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.