Function rp2040_hal::xosc::setup_xosc_blocking
source · pub fn setup_xosc_blocking(
xosc_dev: XOSC,
frequency: HertzU32
) -> Result<CrystalOscillator<Stable>, Error>
Expand description
Blocking helper method to setup the XOSC without going through all the steps.
This uses a startup_delay_multiplier of 64, which is a rather conservative value
that should work even if the XOSC starts up slowly. In case you need a fast boot
sequence, and your XOSC starts up quickly enough, use setup_xosc_blocking_custom_delay
.