Struct stm32_metapac::rcc::regs::Pllcfgr
#[repr(transparent)]pub struct Pllcfgr(pub u32);
Expand description
PLL 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 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 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 PLL PLLSAI3CLK output enable
pub fn set_pllpbit(&mut self, val: Pllpbit)
pub fn set_pllpbit(&mut self, val: Pllpbit)
Main PLL division factor for PLLSAI3CLK (SAI1 and SAI2 clock)
pub fn set_pllqen(&mut self, val: bool)
pub fn set_pllqen(&mut self, val: bool)
Main PLL PLLUSB1CLK output enable
pub fn set_pllren(&mut self, val: bool)
pub fn set_pllren(&mut self, val: bool)
Main PLL 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
)