Type Alias rp2040_pac::xosc::status::R
source · pub type R = R<STATUS_SPEC>;
Expand description
Register STATUS
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn freq_range(&self) -> FREQ_RANGE_R
pub fn freq_range(&self) -> FREQ_RANGE_R
Bits 0:1 - The current frequency range setting, always reads 0
sourcepub fn enabled(&self) -> ENABLED_R
pub fn enabled(&self) -> ENABLED_R
Bit 12 - Oscillator is enabled but not necessarily running and stable, resets to 0
sourcepub fn badwrite(&self) -> BADWRITE_R
pub fn badwrite(&self) -> BADWRITE_R
Bit 24 - An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT