Struct stm32_metapac::rcc::regs::Pllcfgr
#[repr(transparent)]pub struct Pllcfgr(pub u32);
Expand description
PLLSYS configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pllcfgr
impl Pllcfgr
pub fn set_pllsrc(&mut self, val: Pllsrc)
pub fn set_pllsrc(&mut self, val: Pllsrc)
Main PLL, PLLSAI1 and PLLSAI2 entry clock source
pub const fn pllm(&self) -> Pllm
pub const fn pllm(&self) -> Pllm
Division factor M for the main PLL and audio PLL (PLLSAI1 and PLLSAI2) input clock
pub fn set_pllm(&mut self, val: Pllm)
pub fn set_pllm(&mut self, val: Pllm)
Division factor M for the main PLL and audio PLL (PLLSAI1 and PLLSAI2) input clock
pub fn set_pllpen(&mut self, val: bool)
pub fn set_pllpen(&mut self, val: bool)
Main PLLSYSP output enable
pub fn set_pllqen(&mut self, val: bool)
pub fn set_pllqen(&mut self, val: bool)
Main PLLSYSQ output enable
pub fn set_pllren(&mut self, val: bool)
pub fn set_pllren(&mut self, val: bool)
Main PLLSYSR PLLCLK output enable
Trait Implementations§
impl Copy for Pllcfgr
impl Eq for Pllcfgr
impl StructuralPartialEq for Pllcfgr
Auto Trait Implementations§
impl Freeze for Pllcfgr
impl RefUnwindSafe for Pllcfgr
impl Send for Pllcfgr
impl Sync for Pllcfgr
impl Unpin for Pllcfgr
impl UnwindSafe for Pllcfgr
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)