|
void | CMU_UpdateWaitStates (uint32_t freq, int vscale) |
| Configure various wait states to switch to a certain frequency and a certain voltage scale.
|
|
uint32_t | getHfxoTuningMode (void) |
| Get the HFXO tuning mode.
|
|
void | setHfxoTuningMode (uint32_t mode) |
| Set the HFXO tuning mode.
|
|
void | syncReg (uint32_t mask) |
| Wait for an ongoing sync of register(s) to low-frequency domain to complete.
|
|
CMU_AUXHFRCOFreq_TypeDef | CMU_AUXHFRCOBandGet (void) |
| Get the current AUXHFRCO frequency.
|
|
void | CMU_AUXHFRCOBandSet (CMU_AUXHFRCOFreq_TypeDef setFreq) |
| Set AUXHFRCO calibration for the selected target frequency.
|
|
uint32_t | CMU_Calibrate (uint32_t HFCycles, CMU_Osc_TypeDef reference) |
| Calibrate the clock.
|
|
void | CMU_CalibrateConfig (uint32_t downCycles, CMU_Osc_TypeDef downSel, CMU_Osc_TypeDef upSel) |
| Configure the clock calibration.
|
|
uint32_t | CMU_CalibrateCountGet (void) |
| Get the calibration count register.
|
|
CMU_ClkDiv_TypeDef | CMU_ClockDivGet (CMU_Clock_TypeDef clock) |
| Get the clock divisor/prescaler.
|
|
void | CMU_ClockDivSet (CMU_Clock_TypeDef clock, CMU_ClkDiv_TypeDef div) |
| Set the clock divisor/prescaler.
|
|
void | CMU_ClockEnable (CMU_Clock_TypeDef clock, bool enable) |
| Enable/disable a clock.
|
|
uint32_t | CMU_ClockFreqGet (CMU_Clock_TypeDef clock) |
| Get the clock frequency for a clock point.
|
|
uint32_t | CMU_ClockPrescGet (CMU_Clock_TypeDef clock) |
| Get the clock prescaler.
|
|
void | CMU_ClockPrescSet (CMU_Clock_TypeDef clock, CMU_ClkPresc_TypeDef presc) |
| Set the clock prescaler.
|
|
CMU_Select_TypeDef | CMU_ClockSelectGet (CMU_Clock_TypeDef clock) |
| Get the currently selected reference clock used for a clock branch.
|
|
void | CMU_ClockSelectSet (CMU_Clock_TypeDef clock, CMU_Select_TypeDef ref) |
| Select the reference clock/oscillator used for a clock branch.
|
|
uint16_t | CMU_LF_ClockPrecisionGet (CMU_Clock_TypeDef clock) |
| Gets the precision (in PPM) of the specified low frequency clock branch.
|
|
bool | CMU_DPLLLock (const CMU_DPLLInit_TypeDef *init) |
| Lock the DPLL to a given frequency.
|
|
void | CMU_FreezeEnable (bool enable) |
| CMU low frequency register synchronization freeze control.
|
|
CMU_HFRCOFreq_TypeDef | CMU_HFRCOBandGet (void) |
| Get the current HFRCO frequency.
|
|
void | CMU_HFRCOBandSet (CMU_HFRCOFreq_TypeDef setFreq) |
| Set the HFRCO calibration for the selected target frequency.
|
|
CMU_USHFRCOFreq_TypeDef | CMU_USHFRCOBandGet (void) |
| Get the current USHFRCO frequency.
|
|
uint32_t | CMU_USHFRCOFreqGet (void) |
| Get USHFRCO frequency.
|
|
void | CMU_USHFRCOBandSet (CMU_USHFRCOFreq_TypeDef setFreq) |
| Set the USHFRCO calibration for the selected target frequency.
|
|
void | CMU_HFXOAutostartEnable (uint32_t userSel, bool enEM0EM1Start, bool enEM0EM1StartSel) |
| Enable or disable HFXO autostart.
|
|
void | CMU_HFXOInit (const CMU_HFXOInit_TypeDef *hfxoInit) |
| Set HFXO control registers.
|
|
uint32_t | CMU_LCDClkFDIVGet (void) |
| Get the LCD framerate divisor (FDIV) setting.
|
|
void | CMU_LCDClkFDIVSet (uint32_t div) |
| Set the LCD framerate divisor (FDIV) setting.
|
|
void | CMU_LFXOInit (const CMU_LFXOInit_TypeDef *lfxoInit) |
| Set LFXO control registers.
|
|
void | CMU_LFXOPrecisionSet (uint16_t precision) |
| Sets LFXO's crystal precision, in PPM.
|
|
void | CMU_OscillatorEnable (CMU_Osc_TypeDef osc, bool enable, bool wait) |
| Enable/disable oscillator.
|
|
uint32_t | CMU_OscillatorTuningGet (CMU_Osc_TypeDef osc) |
| Get the oscillator frequency tuning setting.
|
|
void | CMU_OscillatorTuningSet (CMU_Osc_TypeDef osc, uint32_t val) |
| Set the oscillator frequency tuning control.
|
|
bool | CMU_OscillatorTuningWait (CMU_Osc_TypeDef osc, CMU_HFXOTuningMode_TypeDef mode) |
| Wait for the oscillator tuning optimization.
|
|
bool | CMU_OscillatorTuningOptimize (CMU_Osc_TypeDef osc, CMU_HFXOTuningMode_TypeDef mode, bool wait) |
| Start and optionally wait for the oscillator tuning optimization.
|
|
bool | CMU_PCNTClockExternalGet (unsigned int instance) |
| Determine if the currently selected PCNTn clock used is external or LFBCLK.
|
|
void | CMU_PCNTClockExternalSet (unsigned int instance, bool external) |
| Select the PCNTn clock.
|
|
void | CMU_CalibrateCont (bool enable) |
| Configure continuous calibration mode.
|
|
void | CMU_CalibrateStart (void) |
| Start calibration.
|
|
void | CMU_CalibrateStop (void) |
| Stop the calibration counters.
|
|
uint32_t | CMU_DivToLog2 (CMU_ClkDiv_TypeDef div) |
| Convert divider to logarithmic value.
|
|
void | CMU_DPLLUnlock (void) |
| Unlock DPLL.
|
|
void | CMU_IntClear (uint32_t flags) |
| Clear one or more pending CMU interrupts.
|
|
void | CMU_IntDisable (uint32_t flags) |
| Disable one or more CMU interrupts.
|
|
void | CMU_IntEnable (uint32_t flags) |
| Enable one or more CMU interrupts.
|
|
uint32_t | CMU_IntGet (void) |
| Get pending CMU interrupts.
|
|
uint32_t | CMU_IntGetEnabled (void) |
| Get enabled and pending CMU interrupt flags.
|
|
void | CMU_IntSet (uint32_t flags) |
| Set one or more pending CMU interrupts.
|
|
void | CMU_Lock (void) |
| Lock the CMU to protect some of its registers against unintended modification.
|
|
SL_DEPRECATED_API_SDK_4_1 uint32_t | CMU_Log2ToDiv (uint32_t log2) |
| Convert logarithm of 2 prescaler to division factor.
|
|
void | CMU_Unlock (void) |
| Unlock the CMU so that writing to locked registers again is possible.
|
|
SL_DEPRECATED_API_SDK_4_1 CMU_HFRCOFreq_TypeDef | CMU_HFRCOFreqGet (void) |
| Get the current HFRCO frequency.
|
|
SL_DEPRECATED_API_SDK_4_1 void | CMU_HFRCOFreqSet (CMU_HFRCOFreq_TypeDef setFreq) |
| Set HFRCO calibration for the selected target frequency.
|
|
SL_DEPRECATED_API_SDK_4_1 CMU_AUXHFRCOFreq_TypeDef | CMU_AUXHFRCOFreqGet (void) |
| Get the current AUXHFRCO frequency.
|
|
SL_DEPRECATED_API_SDK_4_1 void | CMU_AUXHFRCOFreqSet (CMU_AUXHFRCOFreq_TypeDef setFreq) |
| Set AUXHFRCO calibration for the selected target frequency.
|
|
uint32_t | CMU_PrescToLog2 (uint32_t presc) |
| Convert prescaler divider to a logarithmic value.
|
|