/** @file     SchM_WdgM.h
  *
  * @brief    Basic Software Scheduler Module Interlink header file
  *
  * @note     AUTOMATICALLY GENERATED FILE! DO NOT EDIT!
  *
  * @note     Generated by ETAS RTA-RTE
  * @note     Version 6.5.0 
  *
  * @date     Thu Mar  7 11:39:19 2019
  */

#ifndef SchM_WdgM
#define SchM_WdgM

#include "SchM_WdgM_Type.h"
#include "Rte_Intl.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#if defined(RTE_RUNNABLEAPI_CheckpointReached)
   /* Do nothing for this and all elif clauses below (rte_sws_2751) */
#elif defined(RTE_RUNNABLEAPI_DeInit)
#elif defined(RTE_RUNNABLEAPI_GetFirstExpiredSEID)
#elif defined(RTE_RUNNABLEAPI_GetGlobalStatus)
#elif defined(RTE_RUNNABLEAPI_GetLocalStatus)
#elif defined(RTE_RUNNABLEAPI_GetMode)
#elif defined(RTE_RUNNABLEAPI_GetVersionInfo)
#elif defined(RTE_RUNNABLEAPI_Init)
#elif defined(RTE_RUNNABLEAPI_MainFunction)
#elif defined(RTE_RUNNABLEAPI_PerformReset)
#elif defined(RTE_RUNNABLEAPI_SetMode)
#else
   /* None of above defined so define value including all APIs (rte_sws_2751) */
   #define RTE_PRV_ALL_API
#endif

/* API Mapping Macros */
#ifndef RTE_CORE

#define RTE_START_SEC_CODE
#include "Rte_MemMap.h" /*lint !e537 permit multiple inclusion */
FUNC(Std_ReturnType, RTE_CODE) SchM_Switch_WdgM_WdgMSupervisionCycle(VAR(uint8, AUTOMATIC) data);
#define RTE_STOP_SEC_CODE
#include "Rte_MemMap.h" /*lint !e537 permit multiple inclusion */
#define RTE_START_SEC_VAR_CLEARED_8
#include "Rte_MemMap.h" /*lint !e537 permit multiple inclusion */
extern VAR(uint8, RTE_DATA) Rte_ModeCurrent_4;
#define RTE_STOP_SEC_VAR_CLEARED_8
#include "Rte_MemMap.h" /*lint !e537 permit multiple inclusion */
#if defined(RTE_PRV_ALL_API) || defined(RTE_RUNNABLEAPI_SetMode)
/* Inline read optimization; SchM_Mode_WdgM_Current_WdgMSupervisionCycle to direct read */
#define SchM_Mode_WdgM_Current_WdgMSupervisionCycle()  ( Rte_ModeCurrent_4 )
#endif
#if defined(RTE_PRV_ALL_API) || defined(RTE_RUNNABLEAPI_SetMode)
#define SchM_Switch_WdgM_WdgMSupervisionCycle( data ) (SchM_Switch_WdgM_WdgMSupervisionCycle(data))
#endif

#endif /* RTE_CORE */

/*******************************************************
 ***
 *** Schedulable Entity Prototypes
 ***
 *******************************************************/

#define WDGM_START_SEC_CODE
#include "WdgM_MemMap.h" /*lint !e537 permit multiple inclusion */
FUNC(void, WDGM_CODE) WdgM_MainFunction(void);
#define WDGM_STOP_SEC_CODE
#include "WdgM_MemMap.h" /*lint !e537 permit multiple inclusion */

#ifdef __cplusplus
} /* extern C */
#endif /* __cplusplus */

#endif /* !SchM_WdgM */
