Struct rp2040_pac2::xosc::Xosc [−][src]
Controls the crystal oscillator
Implementations
impl Xosc
[src]
pub fn ctrl(self) -> Reg<Ctrl, RW>
[src]
Crystal Oscillator Control
pub fn status(self) -> Reg<Status, RW>
[src]
Crystal Oscillator Status
pub fn dormant(self) -> Reg<u32, RW>
[src]
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
pub fn startup(self) -> Reg<Startup, RW>
[src]
Controls the startup delay
pub fn count(self) -> Reg<Count, RW>
[src]
A down counter running at the xosc frequency which counts to zero and stops. To start the counter write a non-zero value. Can be used for short software pauses when setting up time sensitive hardware.
Trait Implementations
impl Clone for Xosc
[src]
fn clone(&self) -> Xosc
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Xosc
[src]
impl Send for Xosc
[src]
impl Sync for Xosc
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,