|
CMU_AUXHFRCOBand_TypeDef
|
CMU_AUXHFRCOBandGet
(void)
|
|
Get the AUXHFRCO band in use.
|
|
void
|
CMU_AUXHFRCOBandSet
(
CMU_AUXHFRCOBand_TypeDef
band)
|
|
Set the AUXHFRCO band and the tuning value based on the value in the calibration table made during production.
|
|
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.
|
|
void
|
CMU_ClockEnable
(
CMU_Clock_TypeDef
clock, bool enable)
|
|
Enable/disable a clock.
|
|
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.
|
|
uint32_t
|
CMU_ClockFreqGet
(
CMU_Clock_TypeDef
clock)
|
|
Get the clock frequency for a clock point.
|
|
void
|
CMU_ClockSelectSet
(
CMU_Clock_TypeDef
clock,
CMU_Select_TypeDef
ref)
|
|
Select the reference clock/oscillator used for a clock branch.
|
|
CMU_Select_TypeDef
|
CMU_ClockSelectGet
(
CMU_Clock_TypeDef
clock)
|
|
Get the currently selected reference clock 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.
|
|
void
|
CMU_FreezeEnable
(bool enable)
|
|
CMU low frequency register synchronization freeze control.
|
|
CMU_HFRCOBand_TypeDef
|
CMU_HFRCOBandGet
(void)
|
|
Get HFRCO band in use.
|
|
void
|
CMU_HFRCOBandSet
(
CMU_HFRCOBand_TypeDef
band)
|
|
Set HFRCO band and the tuning value based on the value in the calibration table made during production.
|
|
uint32_t
|
CMU_HFRCOStartupDelayGet
(void)
|
|
Get the HFRCO startup delay.
|
|
void
|
CMU_HFRCOStartupDelaySet
(uint32_t delay)
|
|
Set the HFRCO startup delay.
|
|
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.
|
|
void
|
CMU_PCNTClockExternalSet
(unsigned int instance, bool external)
|
|
Select the PCNTn clock.
|
|
bool
|
CMU_PCNTClockExternalGet
(unsigned int instance)
|
|
Determine if the currently selected PCNTn clock used is external or LFBCLK.
|
|
void
|
CMU_UpdateWaitStates
(uint32_t freq, int vscale)
|
|
Configure various wait states to switch to a certain frequency and a certain voltage scale.
|
|
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 dividend to logarithmic value.
|
|
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.
|
|
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.
|
|
void
|
syncReg
(uint32_t mask)
|
|
Wait for an ongoing sync of register(s) to low-frequency domain to complete.
|
|