/* Determines if the power manager's early wakeup expired during the last ISR and it was the only timer to expire in that period. */
bool sl_sleeptimer_is_power_manager_early_restore_timer_latest_to_expire(void)
/* Determines if the power manager's early wakeup expired during the last ISR and it was the only timer to expire in that period. */
bool sl_sleeptimer_is_power_manager_early_restore_timer_latest_to_expire(void)
{
  CORE_DECLARE_IRQ_STATE;
  bool sleep;
  CORE_ENTER_ATOMIC();
  sleep = sleep_on_isr_exit;
  sleep_on_isr_exit = false;
  CORE_EXIT_ATOMIC();
  return sleep;
}