Struct rp2040_pac2::xosc::regs::Status [−][src]
Crystal Oscillator Status
Implementations
impl Status
[src]
pub const fn stable(&self) -> bool
[src]
Oscillator is running and stable
pub fn set_stable(&mut self, val: bool)
[src]
Oscillator is running and stable
pub const fn badwrite(&self) -> bool
[src]
An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT
pub fn set_badwrite(&mut self, val: bool)
[src]
An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT
pub const fn enabled(&self) -> bool
[src]
Oscillator is enabled but not necessarily running and stable, resets to 0
pub fn set_enabled(&mut self, val: bool)
[src]
Oscillator is enabled but not necessarily running and stable, resets to 0
pub const fn freq_range(&self) -> StatusFreqRange
[src]
The current frequency range setting, always reads 0
pub fn set_freq_range(&mut self, val: StatusFreqRange)
[src]
The current frequency range setting, always reads 0
Trait Implementations
impl Clone for Status
[src]
fn clone(&self) -> Status
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Status
[src]
impl Default for Status
[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>,