EMU Initialization#

Initialize the Energy Management Unit.

Initializes the Energy Management Unit by configuring Energy Mode 4 (EM4) according to settings in the configuration header sl_device_init_emu_config.h.

On Series 2 devices, debugging in EM2 is enabled by default by ensuring that power to the debug power domain is sustained on EM2 entry. Debugging in EM2 can be disabled through the configuration header. If using Simplicity Studio, this header can also be configured using the Project Configurator by selecting the "Device Init: EMU" configuration component.

Note

  • Voltage scaling for Energy Modes 0 to 3 are configured by the Power Manager.

Functions#

sl_status_t

Initialize EMU.

Function Documentation#

sl_device_init_emu#

sl_status_t sl_device_init_emu (void )

Initialize EMU.

Parameters
N/A

Initializes the Energy Management Unit by configuring Energy Mode 4 (EM4) according to settings in the configuration header sl_device_init_emu_config.h.

On Series 2 devices, debugging in EM2 is enabled by default by ensuring that power to the debug power domain is sustained on EM2 entry.

Note

  • Voltage scaling for Energy Modes 0 to 3 are configured by the Power Manager.

Returns

  • Status code

Return values

  • SL_STATUS_OK: EMU initialized successfully


Definition at line 82 of file platform/service/device_init/inc/sl_device_init_emu.h