Struct rp2040_pac2::rosc::regs::Status[][src]

#[repr(transparent)]pub struct Status(pub u32);

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]

impl Copy for Status[src]

impl Default for Status[src]

Auto Trait Implementations

impl Send for Status

impl Sync for Status

impl Unpin for Status

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.