Struct Plldivr
#[repr(transparent)]pub struct Plldivr(pub u32);Expand description
RCC PLLx dividers register
Tuple Fields§
§0: u32Implementations§
§impl Plldivr
impl Plldivr
pub const fn plln(&self) -> Plln
pub const fn plln(&self) -> Plln
Multiplication factor for PLLx VCO Set and reset by software to control the multiplication factor of the VCO. These bits can be written only when the PLL is disabled (PLLxON = 0 and PLLxRDY = 0). … … Others: reserved VCO output frequency = Frefx_ck x PLLxN, when fractional value 0 has been loaded into PLLxFRACN, with: PLLxN between 4 and 512 input frequency Frefx_ck between 4 and 16 MHz
pub const fn set_plln(&mut self, val: Plln)
pub const fn set_plln(&mut self, val: Plln)
Multiplication factor for PLLx VCO Set and reset by software to control the multiplication factor of the VCO. These bits can be written only when the PLL is disabled (PLLxON = 0 and PLLxRDY = 0). … … Others: reserved VCO output frequency = Frefx_ck x PLLxN, when fractional value 0 has been loaded into PLLxFRACN, with: PLLxN between 4 and 512 input frequency Frefx_ck between 4 and 16 MHz
pub const fn pllp(&self) -> Plldiv
pub const fn pllp(&self) -> Plldiv
PLLx DIVP division factor Set and reset by software to control the frequency of the pllx_p_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). …
pub const fn set_pllp(&mut self, val: Plldiv)
pub const fn set_pllp(&mut self, val: Plldiv)
PLLx DIVP division factor Set and reset by software to control the frequency of the pllx_p_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). …
pub const fn pllq(&self) -> Plldiv
pub const fn pllq(&self) -> Plldiv
PLLx DIVQ division factor Set and reset by software to control the frequency of the pllx_q_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). …
pub const fn set_pllq(&mut self, val: Plldiv)
pub const fn set_pllq(&mut self, val: Plldiv)
PLLx DIVQ division factor Set and reset by software to control the frequency of the pllx_q_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). …
pub const fn pllr(&self) -> Plldiv
pub const fn pllr(&self) -> Plldiv
PLLx DIVR division factor Set and reset by software to control the frequency of the pllx_r_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). For PLL1 only division by one and even division factors are allowed (PLL2/PLL3: any value).
pub const fn set_pllr(&mut self, val: Plldiv)
pub const fn set_pllr(&mut self, val: Plldiv)
PLLx DIVR division factor Set and reset by software to control the frequency of the pllx_r_ck clock. These bits can be written only when the PLLx is disabled (PLLxON = 0 and PLLxRDY = 0). For PLL1 only division by one and even division factors are allowed (PLL2/PLL3: any value).