1 /* -------------------------------- Arctic Core ------------------------------
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
6 * This source code is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published by the
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * -------------------------------- Arctic Core ------------------------------*/
27 #include "Std_Types.h"
\r
28 #include "WdgM_Lcfg.h"
\r
36 WDBG_ALIVE_DEACTIVATED,
\r
37 }WdgM_SupervisedStatusType;
\r
41 WDBG_SUPERVISION_DISABLED,
\r
42 WDBG_SUPERVISION_ENABLED
\r
43 }WdgM_ActivationStatusType;
\r
45 typedef int16_t WdgM_SupervisionCounterType ;
\r
49 WdgM_SupervisionCounterType AliveCounter;
\r
50 WdgM_SupervisionCounterType SupervisionCycle;
\r
51 WdgM_SupervisedStatusType SupervisionStatus;
\r
52 WdgM_SupervisionCounterType NbrOfFailedRefCycles;
\r
53 WdgM_ActivationStatusType ActivationStatus;
\r
54 }Wdgm_SupervisionType;
\r
58 const WdgM_SupervisedEntityIdType WdgM_SupervisedEntityID;
\r
59 const WdgM_ActivationStatusType WdgM_ActivationStatus;
\r
60 const WdgM_SupervisionCounterType WdgM_ExpectedAliveIndications;
\r
61 const WdgM_SupervisionCounterType WdgM_SupervisionReferenceCycle;
\r
62 const WdgM_SupervisionCounterType WdgM_FailedSupervisionReferenceCycleTolerance;
\r
63 const WdgM_SupervisionCounterType WdgM_MinMargin;
\r
64 const WdgM_SupervisionCounterType WdgM_MaxMargin;
\r
65 }WdgM_SupervisedEntityType;
\r
69 uint16 WdgM_SupervisionCycle;
\r
70 uint16 WdgM_NumberOfSupervisedEntities;
\r
71 uint16 WdgM_ExpiredSupervisionCycleTolerance;
\r
72 const WdgM_SupervisedEntityType *WdgM_SupervisedEntityPtr;
\r
73 Wdgm_SupervisionType *Wdgm_SupervisionPtr;
\r
76 extern const WdgM_ConfigType WdgMAliveSupervision;
\r
78 #endif /* WDGM_CFG_H_ */
\r