stm32-metapac

Crates

git

Versions

stm32h7p5qi

Flavors

Skip to main content

Pllcfgr

Struct Pllcfgr 

#[repr(transparent)]
pub struct Pllcfgr(pub u32);
Expand description

RCC PLLs configuration register.

Tuple Fields§

§0: u32

Implementations§

§

impl Pllcfgr

pub const fn pll1fracen(&self) -> bool

PLL1 fractional latch enable.

pub const fn set_pll1fracen(&mut self, val: bool)

PLL1 fractional latch enable.

pub const fn pll1vcosel(&self) -> Pll1vcosel

PLL1 VCO selection.

pub const fn set_pll1vcosel(&mut self, val: Pll1vcosel)

PLL1 VCO selection.

pub const fn pll1sscgen(&self) -> bool

PLL1 SSCG enable.

pub const fn set_pll1sscgen(&mut self, val: bool)

PLL1 SSCG enable.

pub const fn pll1rge(&self) -> Pll1rge

PLL1 input frequency range.

pub const fn set_pll1rge(&mut self, val: Pll1rge)

PLL1 input frequency range.

pub const fn pll1pen(&self) -> bool

PLL1 DIVP divider output enable.

pub const fn set_pll1pen(&mut self, val: bool)

PLL1 DIVP divider output enable.

pub const fn pll1qen(&self) -> bool

PLL1 DIVQ divider output enable.

pub const fn set_pll1qen(&mut self, val: bool)

PLL1 DIVQ divider output enable.

pub const fn pll1sen(&self) -> bool

PLL1 DIVS divider output enable.

pub const fn set_pll1sen(&mut self, val: bool)

PLL1 DIVS divider output enable.

pub const fn pll2fraclen(&self) -> bool

PLL2 fractional latch enable.

pub const fn set_pll2fraclen(&mut self, val: bool)

PLL2 fractional latch enable.

pub const fn pll2vcosel(&self) -> Pll2vcosel

PLL2 VCO selection.

pub const fn set_pll2vcosel(&mut self, val: Pll2vcosel)

PLL2 VCO selection.

pub const fn pll2sscgen(&self) -> bool

PLL2 SSCG enable.

pub const fn set_pll2sscgen(&mut self, val: bool)

PLL2 SSCG enable.

pub const fn pll2rge(&self) -> Pll2rge

PLL2 input frequency range.

pub const fn set_pll2rge(&mut self, val: Pll2rge)

PLL2 input frequency range.

pub const fn pll2pen(&self) -> bool

PLL2 DIVP divider output enable.

pub const fn set_pll2pen(&mut self, val: bool)

PLL2 DIVP divider output enable.

pub const fn pll2qen(&self) -> bool

PLL2 DIVQ divider output enable.

pub const fn set_pll2qen(&mut self, val: bool)

PLL2 DIVQ divider output enable.

pub const fn pll2ren(&self) -> bool

PLL2 DIVR divider output enable.

pub const fn set_pll2ren(&mut self, val: bool)

PLL2 DIVR divider output enable.

pub const fn pll2sen(&self) -> bool

PLL2 DIVS divider output enable.

pub const fn set_pll2sen(&mut self, val: bool)

PLL2 DIVS divider output enable.

pub const fn pll2ten(&self) -> bool

PLL2 DIVT divider output enable.

pub const fn set_pll2ten(&mut self, val: bool)

PLL2 DIVT divider output enable.

pub const fn pll3fracen(&self) -> bool

PLL3 fractional latch enable.

pub const fn set_pll3fracen(&mut self, val: bool)

PLL3 fractional latch enable.

pub const fn pll3vcosel(&self) -> Pll3vcosel

PLL3 VCO selection.

pub const fn set_pll3vcosel(&mut self, val: Pll3vcosel)

PLL3 VCO selection.

pub const fn pll3sscgen(&self) -> bool

PLL3 SSCG enable.

pub const fn set_pll3sscgen(&mut self, val: bool)

PLL3 SSCG enable.

pub const fn pll3rge(&self) -> Pll3rge

PLL3 input frequency range.

pub const fn set_pll3rge(&mut self, val: Pll3rge)

PLL3 input frequency range.

pub const fn pll3pen(&self) -> bool

PLL3 DIVP divider output enable.

pub const fn set_pll3pen(&mut self, val: bool)

PLL3 DIVP divider output enable.

pub const fn pll3qen(&self) -> bool

PLL3 DIVQ divider output enable.

pub const fn set_pll3qen(&mut self, val: bool)

PLL3 DIVQ divider output enable.

pub const fn pll3ren(&self) -> bool

PLL3 DIVR divider output enable.

pub const fn set_pll3ren(&mut self, val: bool)

PLL3 DIVR divider output enable.

pub const fn pll3sen(&self) -> bool

PLL3 DIVS divider output enable.

pub const fn set_pll3sen(&mut self, val: bool)

PLL3 DIVS divider output enable.

Trait Implementations§

§

impl Clone for Pllcfgr

§

fn clone(&self) -> Pllcfgr

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for Pllcfgr

§

impl Debug for Pllcfgr

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for Pllcfgr

§

fn default() -> Pllcfgr

Returns the “default value” for a type. Read more
§

impl Eq for Pllcfgr

§

impl PartialEq for Pllcfgr

§

fn eq(&self, other: &Pllcfgr) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl StructuralPartialEq for Pllcfgr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.