pub struct Xosc(pub *mut u8);
Expand description
Controls the crystal oscillator
Tuple Fields§
§0: *mut u8
Implementations§
Source§impl Xosc
impl Xosc
Sourcepub fn dormant(self) -> Reg<u32, RW>
pub 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§
impl Copy for Xosc
impl Eq for Xosc
impl Send 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