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 pllfracen(&self, n: usize) -> bool

PLLx fractional latch enable. Set and reset by software to latch the content of FRACN into the sigma-delta modulator.

pub const fn set_pllfracen(&mut self, n: usize, val: bool)

PLLx fractional latch enable. Set and reset by software to latch the content of FRACN into the sigma-delta modulator.

pub const fn pllvcosel(&self, n: usize) -> Pllvcosel

PLLx VCO selection. Set and reset by software to select the proper VCO frequency range used for PLLx.

pub const fn set_pllvcosel(&mut self, n: usize, val: Pllvcosel)

PLLx VCO selection. Set and reset by software to select the proper VCO frequency range used for PLLx.

pub const fn pllsscgen(&self, n: usize) -> bool

PLLx SSCG enable. Set and reset by software to enable the Spread Spectrum Clock Generator of PLLx.

pub const fn set_pllsscgen(&mut self, n: usize, val: bool)

PLLx SSCG enable. Set and reset by software to enable the Spread Spectrum Clock Generator of PLLx.

pub const fn pllrge(&self, n: usize) -> Pllrge

PLLx input frequency range. Set and reset by software to select the proper reference frequency range used for PLLx.

pub const fn set_pllrge(&mut self, n: usize, val: Pllrge)

PLLx input frequency range. Set and reset by software to select the proper reference frequency range used for PLLx.

pub const fn divpen(&self, n: usize) -> bool

PLLx DIVP divider output enable.

pub const fn set_divpen(&mut self, n: usize, val: bool)

PLLx DIVP divider output enable.

pub const fn divqen(&self, n: usize) -> bool

PLLx DIVQ divider output enable.

pub const fn set_divqen(&mut self, n: usize, val: bool)

PLLx DIVQ divider output enable.

pub const fn divren(&self, n: usize) -> bool

PLLx DIVR divider output enable. Only documented for PLL2 and PLL3: element 0 (PLL1, bit 7) is undocumented on STM32H7Px.

pub const fn set_divren(&mut self, n: usize, val: bool)

PLLx DIVR divider output enable. Only documented for PLL2 and PLL3: element 0 (PLL1, bit 7) is undocumented on STM32H7Px.

pub const fn divsen(&self, n: usize) -> bool

PLLx DIVS divider output enable.

pub const fn set_divsen(&mut self, n: usize, val: bool)

PLLx DIVS divider output enable.

pub const fn divten(&self, n: usize) -> bool

PLLx DIVT divider output enable. Only documented for PLL2: elements 0 (PLL1, bit 9) and 2 (PLL3, bit 31) are undocumented on STM32H7Px.

pub const fn set_divten(&mut self, n: usize, val: bool)

PLLx DIVT divider output enable. Only documented for PLL2: elements 0 (PLL1, bit 9) and 2 (PLL3, bit 31) are undocumented on STM32H7Px.

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 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.