Struct Plldivr2
#[repr(transparent)]pub struct Plldivr2(pub u32);Expand description
RCC PLL1 dividers configuration register 2.
Tuple Fields§
§0: u32Implementations§
§impl Plldivr2
impl Plldivr2
pub const fn plls(&self) -> Plldivst
pub const fn plls(&self) -> Plldivst
PLL1 DIVS division factor Set and reset by software to control the frequency of the pll1_s_ck clock. This post-divider performs divisions with 50% duty-cycle. The duty-cycle of 50% is guaranteed only in the following conditions: With VCOL, if (DIVS+1) is even, With VCOH, for all DIVS values These bits can be written only when the PLL1DIVSEN = 0.
pub const fn set_plls(&mut self, val: Plldivst)
pub const fn set_plls(&mut self, val: Plldivst)
PLL1 DIVS division factor Set and reset by software to control the frequency of the pll1_s_ck clock. This post-divider performs divisions with 50% duty-cycle. The duty-cycle of 50% is guaranteed only in the following conditions: With VCOL, if (DIVS+1) is even, With VCOH, for all DIVS values These bits can be written only when the PLL1DIVSEN = 0.
pub const fn pllt(&self) -> Plldivst
pub const fn pllt(&self) -> Plldivst
PLLx DIVT division factor. Set and reset by software to control the frequency of the pllx_t_ck clock. These bits can be written only when PLLCFGR.DIVTEN[x] = 0. Only PLL2 has a DIVT output: reserved in RCC_PLL1DIVR2 and RCC_PLL3DIVR2 (array elements 0 and 2).
pub const fn set_pllt(&mut self, val: Plldivst)
pub const fn set_pllt(&mut self, val: Plldivst)
PLLx DIVT division factor. Set and reset by software to control the frequency of the pllx_t_ck clock. These bits can be written only when PLLCFGR.DIVTEN[x] = 0. Only PLL2 has a DIVT output: reserved in RCC_PLL1DIVR2 and RCC_PLL3DIVR2 (array elements 0 and 2).