#[repr(transparent)]pub struct Pwr(pub u32);
Expand description
Controls the PLL power modes.
Tuple Fields§
§0: u32
Implementations§
source§impl Pwr
impl Pwr
sourcepub const fn pd(&self) -> bool
pub const fn pd(&self) -> bool
PLL powerdown To save power set high when PLL output not required.
sourcepub fn set_pd(&mut self, val: bool)
pub fn set_pd(&mut self, val: bool)
PLL powerdown To save power set high when PLL output not required.
sourcepub fn set_dsmpd(&mut self, val: bool)
pub fn set_dsmpd(&mut self, val: bool)
PLL DSM powerdown Nothing is achieved by setting this low.
sourcepub const fn postdivpd(&self) -> bool
pub const fn postdivpd(&self) -> bool
PLL post divider powerdown To save power set high when PLL output not required or bypass=1.
sourcepub fn set_postdivpd(&mut self, val: bool)
pub fn set_postdivpd(&mut self, val: bool)
PLL post divider powerdown To save power set high when PLL output not required or bypass=1.
Trait Implementations§
impl Copy for Pwr
impl Eq for Pwr
impl StructuralPartialEq for Pwr
Auto Trait Implementations§
impl Freeze for Pwr
impl RefUnwindSafe for Pwr
impl Send for Pwr
impl Sync for Pwr
impl Unpin for Pwr
impl UnwindSafe for Pwr
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
)