MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / EMU_UpdateOscConfig

Function EMU_UpdateOscConfig

bsp/efm32/Libraries/emlib/src/em_emu.c:380–384  ·  view source on GitHub ↗

/ * @brief * Update EMU module with CMU oscillator selection/enable status. * * @details * When entering EM2 and EM3, the HW may change the core clock oscillator * used, as well as disabling some oscillators. The user may optionally select * to restore the oscillators after waking up from EM2 and EM3 through the * SW API. * * However, in order to support this in a safe way, th

Source from the content-addressed store, hash-verified

378 * up-to-date.
379 ******************************************************************************/
380void EMU_UpdateOscConfig(void)
381{
382 /* Fetch current configuration */
383 cmuStatus = (uint16_t)(CMU->STATUS);
384}
385
386
387#if defined(_EFM32_GIANT_FAMILY)

Callers 2

CMU_ClockSelectSetFunction · 0.85
CMU_OscillatorEnableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected