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

source

pub fn freq_range(&self) -> FREQ_RANGE_R

Bits 0:1 - The current frequency range setting, always reads 0

source

pub fn enabled(&self) -> ENABLED_R

Bit 12 - Oscillator is enabled but not necessarily running and stable, resets to 0

source

pub fn badwrite(&self) -> BADWRITE_R

Bit 24 - An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT

source

pub fn stable(&self) -> STABLE_R

Bit 31 - Oscillator is running and stable