EMU - Energy Management Unit
Description
Energy Management Unit (EMU) Peripheral API.
This module contains functions to control the EMU peripheral of Silicon Labs 32-bit MCUs and SoCs. The EMU handles the different low energy modes in Silicon Labs microcontrollers.
Data Structures |
|
struct | EMU_EM23Init_TypeDef |
EM2 and 3 initialization structure.
|
|
struct | EMU_EM4Init_TypeDef |
EM4 initialization structure.
|
|
struct | EMU_BUPDInit_TypeDef |
Backup Power Domain Initialization structure.
|
|
Functions |
|
void | EMU_EM23Init (const EMU_EM23Init_TypeDef *em23Init) |
Update the EMU module with Energy Mode 2 and 3 configuration.
|
|
void | EMU_EM23PresleepHook (void) |
Energy mode 2/3 pre-sleep hook function.
|
|
void | EMU_EM23PostsleepHook (void) |
Energy mode 2/3 post-sleep hook function.
|
|
void | EMU_EM4Init (const EMU_EM4Init_TypeDef *em4Init) |
Update the EMU module with Energy Mode 4 configuration.
|
|
void | EMU_EnterEM2 (bool restore) |
Enter energy mode 2 (EM2).
|
|
void | EMU_EnterEM3 (bool restore) |
Enter energy mode 3 (EM3).
|
|
void | EMU_Save (void) |
Save the CMU HF clock select state, oscillator enable, and voltage scaling (if available) before
EMU_EnterEM2()
or
EMU_EnterEM3()
are called with the restore parameter set to false.
|
|
void | EMU_Restore (void) |
Restore CMU HF clock select state, oscillator enable, and voltage scaling (if available) after
EMU_EnterEM2()
or
EMU_EnterEM3()
are called with the restore parameter set to false.
|
|
void | EMU_EM4PresleepHook (void) |
Energy mode 4 pre-sleep hook function.
|
|
void | EMU_EnterEM4 (void) |
Enter energy mode 4 (EM4).
|
|
void | EMU_MemPwrDown (uint32_t blocks) |
Power down memory block.
|
|
void | EMU_RamPowerDown (uint32_t start, uint32_t end) |
Power down RAM memory blocks.
|
|
void | EMU_RamPowerUp (void) |
Power up all available RAM memory blocks.
|
|
void | EMU_UpdateOscConfig (void) |
Update EMU module with CMU oscillator selection/enable status.
|
|
void | EMU_BUPDInit (const EMU_BUPDInit_TypeDef *bupdInit) |
Configure Backup Power Domain settings.
|
|
void | EMU_BUThresholdSet ( EMU_BODMode_TypeDef mode, uint32_t value) |
Configure the Backup Power Domain BOD Threshold value.
|
|
void | EMU_BUThresRangeSet ( EMU_BODMode_TypeDef mode, uint32_t value) |
Configure the Backup Power Domain BOD Threshold Range.
|
|
void | EMU_BUStatEnSet (bool enable) |
Enable backup mode status export.
|
|
void | EMU_BUEnableSet (bool enable) |
Enable backup mode.
|
|