Struct Pll2divr
#[repr(transparent)]pub struct Pll2divr(pub u32);
Expand description
RCC PLL2 dividers configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pll2divr
impl Pll2divr
pub const fn plln(&self) -> u16
pub const fn plln(&self) -> u16
Multiplication factor for PLL2 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 (PLL2ON = 0 and PLL2RDY = 0). … … Others: reserved VCO output frequency = Fref2_ck x PLL2N, when fractional value 0 has been loaded into PLL2FRACN, with: PLL2N between 4 and 512 input frequency Fref2_ck between 1MHz and 16MHz
pub fn set_plln(&mut self, val: u16)
pub fn set_plln(&mut self, val: u16)
Multiplication factor for PLL2 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 (PLL2ON = 0 and PLL2RDY = 0). … … Others: reserved VCO output frequency = Fref2_ck x PLL2N, when fractional value 0 has been loaded into PLL2FRACN, with: PLL2N between 4 and 512 input frequency Fref2_ck between 1MHz and 16MHz
pub const fn pllp(&self) -> u8
pub const fn pllp(&self) -> u8
PLL2 DIVP division factor Set and reset by software to control the frequency of the pll2_p_ck clock. These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0). …
pub fn set_pllp(&mut self, val: u8)
pub fn set_pllp(&mut self, val: u8)
PLL2 DIVP division factor Set and reset by software to control the frequency of the pll2_p_ck clock. These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0). …
pub const fn pllq(&self) -> u8
pub const fn pllq(&self) -> u8
PLL2 DIVQ division factor Set and reset by software to control the frequency of the pll2_q_ck clock. These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0). …
pub fn set_pllq(&mut self, val: u8)
pub fn set_pllq(&mut self, val: u8)
PLL2 DIVQ division factor Set and reset by software to control the frequency of the pll2_q_ck clock. These bits can be written only when the PLL2 is disabled (PLL2ON = 0 and PLL2RDY = 0). …