Struct Pllcfgr
#[repr(transparent)]pub struct Pllcfgr(pub u32);Expand description
RCC PLLs configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Pllcfgr
impl Pllcfgr
pub const fn pllfracen(&self, n: usize) -> bool
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)
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
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)
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
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)
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
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)
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 set_divpen(&mut self, n: usize, val: bool)
pub const fn set_divpen(&mut self, n: usize, val: bool)
PLLx DIVP divider output enable.
pub const fn set_divqen(&mut self, n: usize, val: bool)
pub const fn set_divqen(&mut self, n: usize, val: bool)
PLLx DIVQ divider output enable.
pub const fn divren(&self, n: usize) -> bool
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)
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 set_divsen(&mut self, n: usize, val: bool)
pub const fn set_divsen(&mut self, n: usize, val: bool)
PLLx DIVS divider output enable.
pub const fn divten(&self, n: usize) -> bool
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)
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.