Module rp2040_hal::xosc
source · Expand description
Crystal Oscillator (XOSC)
Structs
A Crystal Oscillator.
XOSC is disabled (typestate)
XOSC is in dormant mode (see Chapter 2, Section 16, §5)
XOSC is initialized, ie we’ve given parameters (typestate)
Stable state (typestate)
A token that’s given when the oscillator is stablilzed, and can be exchanged to proceed to the next stage.
Enums
Possible errors when initializing the CrystalOscillator
Traits
State of the Crystal Oscillator (typestate trait)
Functions
Blocking helper method to setup the XOSC without going through all the steps.