Power Manager APIs#

This section describes some of the APIs offered by Power Manager. For more information on APIs and API examples, see the Power Manager APIs documentation.

API Description
sl_si91x_power_manager_init To initialize the Power Manager service.
sl_si91x_power_manager_add_ps_requirement To add a requirement on power states.
sl_si91x_power_manager_remove_ps_requirement To remove the requirement on power states.
sl_si91x_power_manager_set_clock_scaling To configure the clock scaling – Powersave and Performance.
sl_si91x_power_manager_add_peripheral_requirement Adds the peripheral requirement.
sl_si91x_power_manager_remove_peripheral_requirement To remove the peripheral requirement.
sl_si91x_power_manager_subscribe_ps_transition_event To register a callback to be called on given power state transition(s).
sl_si91x_power_manager_unsubscribe_ps_transition_event To unregister an event callback handle on power state transition.
sl_si91x_power_manager_sleep To move into sleep mode and wait for the peripheral to be set as a wakeup source to trigger and wake up the M4.
Note: Applications using RTOS with tickless mode enabled must not call this function. This API is not supposed to be used directly in the application and is called automatically when the system is in idle state with tickless mode.
sl_si91x_power_manager_set_wakeup_sources To configure the wakeup sources.
sl_si91x_power_manager_configure_ram_retention To retain the RAM in low power state either by using size or RAM bank as input parameters.
sl_si91x_power_manager_get_current_state To return the current power state.
sl_si91x_power_manager_get_requirement_table To get the current requirements on all the power states.
sl_si91x_power_manager_deinit To de-initialize the Power Manager service.