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)
PLL input clock source
pub fn set_pllpen(&mut self, val: bool)
pub fn set_pllpen(&mut self, val: bool)
PLLPCLK clock output enable
pub fn set_pllqen(&mut self, val: bool)
pub fn set_pllqen(&mut self, val: bool)
PLLQCLK clock output enable
pub fn set_pllren(&mut self, val: bool)
pub fn set_pllren(&mut self, val: bool)
PLLRCLK clock 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
)