diff --git a/rp2040-hal/src/xosc.rs b/rp2040-hal/src/xosc.rs index a499488..6f67b1e 100644 --- a/rp2040-hal/src/xosc.rs +++ b/rp2040-hal/src/xosc.rs @@ -175,6 +175,8 @@ impl CrystalOscillator { } /// Put the XOSC in DORMANT state. + /// + /// # Safety /// This method is marked unsafe because prior to switch the XOSC into DORMANT state, /// PLLs must be stopped and IRQs have to be properly configured. /// This method does not do any of that, it merely switches the XOSC to DORMANT state.