pub struct Xosc { /* private fields */ }
Expand description
Controls the crystal oscillator
Implementations§
source§impl Xosc
impl Xosc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
sourcepub const fn dormant(self) -> Reg<u32, RW>
pub const fn dormant(self) -> Reg<u32, RW>
Crystal Oscillator pause control This is used to save power by pausing the XOSC On power-up this field is initialised to WAKE An invalid write will also select WAKE WARNING: stop the PLLs before selecting dormant mode WARNING: setup the irq before selecting dormant mode
Trait Implementations§
source§impl PartialEq<Xosc> for Xosc
impl PartialEq<Xosc> for Xosc
impl Copy for Xosc
impl Eq for Xosc
impl Send for Xosc
impl StructuralEq for Xosc
impl StructuralPartialEq for Xosc
impl Sync for Xosc
Auto Trait Implementations§
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