Struct rp2040_pac2::rosc::regs::Status [−][src]
Ring 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 FRFEQA or FREQB 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 FRFEQA or FREQB or DORMANT
pub const fn div_running(&self) -> bool
[src]
post-divider is running this resets to 0 but transitions to 1 during chip startup
pub fn set_div_running(&mut self, val: bool)
[src]
post-divider is running this resets to 0 but transitions to 1 during chip startup
pub const fn enabled(&self) -> bool
[src]
Oscillator is enabled but not necessarily running and stable this resets to 0 but transitions to 1 during chip startup
pub fn set_enabled(&mut self, val: bool)
[src]
Oscillator is enabled but not necessarily running and stable this resets to 0 but transitions to 1 during chip startup
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>,