/* USER CODE BEGIN Header */
/**
  ******************************************************************************
  * @file    app_sys.h
  * @author  MCD Application Team
  * @brief   Header for app_sys.c
  ******************************************************************************
  * @attention
  *
  * Copyright (c) 2022 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file
  * in the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  *
  ******************************************************************************
  */
/* USER CODE END Header */
#ifndef APP_SYS_H
#define APP_SYS_H

#include <stdint.h>

/* Exported constants --------------------------------------------------------*/

/* The RADIO_DEEPSLEEP_WAKEUP_TIME_US macro allows to define when the system
 * needs to wake up before "handle next event".
 * This macro is the sum of the durations of standby exit and Link Layer
 * deep sleep mode exit.
 */
#define RADIO_DEEPSLEEP_WAKEUP_TIME_US (CFG_LPM_STDBY_WAKEUP_TIME)

/* USER CODE BEGIN EC */

/* USER CODE END EC */

/* Exported functions prototypes ---------------------------------------------*/

void APP_SYS_BLE_EnterDeepSleep(void);
void APP_SYS_SetWakeupOffset(uint32_t wakeup_offset_us);
/* USER CODE BEGIN EFP */

/* USER CODE END EFP */

#endif /* APP_SYS_H */
