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 PLLxVCO 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
pub const fn set_plln(&mut self, val: Plln)
pub const fn set_plln(&mut self, val: Plln)
Multiplication factor for PLLxVCO 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
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). Note that odd division factors are not allowed for PLL1. …
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). Note that odd division factors are not allowed for PLL1. …
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). …