Struct stm32_metapac::rcc::regs::Pllckselr
#[repr(transparent)]pub struct Pllckselr(pub u32);
Expand description
RCC PLLs clock source selection register.
Tuple Fields§
§0: u32
Implementations§
§impl Pllckselr
impl Pllckselr
pub const fn pllsrc(&self) -> Pllsrc
pub const fn pllsrc(&self) -> Pllsrc
DIVMx and PLLs clock source selection Set and reset by software to select the PLL clock source. These bits can be written only when all PLLs are disabled. In order to save power, when no PLL is used, PLLSRC must be set to 11.
pub fn set_pllsrc(&mut self, val: Pllsrc)
pub fn set_pllsrc(&mut self, val: Pllsrc)
DIVMx and PLLs clock source selection Set and reset by software to select the PLL clock source. These bits can be written only when all PLLs are disabled. In order to save power, when no PLL is used, PLLSRC must be set to 11.
pub const fn divm(&self, n: usize) -> Pllm
pub const fn divm(&self, n: usize) -> Pllm
prescaler for PLL1 Set and cleared by software to configure the prescaler of the PLL1. The hardware does not allow any modification of this prescaler when PLL1 is enabled (PLL1ON = 1). In order to save power when PLL1 is not used, the value of DIVM1 must be set to 0. … …
pub fn set_divm(&mut self, n: usize, val: Pllm)
pub fn set_divm(&mut self, n: usize, val: Pllm)
prescaler for PLL1 Set and cleared by software to configure the prescaler of the PLL1. The hardware does not allow any modification of this prescaler when PLL1 is enabled (PLL1ON = 1). In order to save power when PLL1 is not used, the value of DIVM1 must be set to 0. … …
Trait Implementations§
impl Copy for Pllckselr
impl Eq for Pllckselr
impl StructuralPartialEq for Pllckselr
Auto Trait Implementations§
impl Freeze for Pllckselr
impl RefUnwindSafe for Pllckselr
impl Send for Pllckselr
impl Sync for Pllckselr
impl Unpin for Pllckselr
impl UnwindSafe for Pllckselr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)