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

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

Controls the PLL post dividers for the primary output (note: this PLL does not have a secondary output) the primary output is driven from VCO divided by postdiv1*postdiv2

Implementations

impl Prim[src]

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

divide by 1-7

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

divide by 1-7

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

divide by 1-7

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

divide by 1-7

Trait Implementations

impl Clone for Prim[src]

impl Copy for Prim[src]

impl Default for Prim[src]

Auto Trait Implementations

impl Send for Prim

impl Sync for Prim

impl Unpin for Prim

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.