]> rtime.felk.cvut.cz Git - arc.git/blob - include/WdgIf.h
Added tag v2.13.1 for changeset e2956964397b
[arc.git] / include / WdgIf.h
1 /* -------------------------------- Arctic Core ------------------------------\r
2  * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
3  *\r
4  * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
5  *\r
6  * This source code is free software; you can redistribute it and/or modify it\r
7  * under the terms of the GNU General Public License version 2 as published by the\r
8  * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
9  *\r
10  * This program is distributed in the hope that it will be useful, but\r
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
12  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
13  * for more details.\r
14  * -------------------------------- Arctic Core ------------------------------\r
15  * WdgIf.h\r
16  *\r
17  *  Created on: 22 feb 2010\r
18  *      Author: Fredrik\r
19  */\r
20 \r
21 #ifndef WDGIF_H_\r
22 #define WDGIF_H_\r
23 \r
24 #define WDGIF_SW_MAJOR_VERSION  1\r
25 #define WDGIF_SW_MINOR_VERSION  0\r
26 #define WDGIF_SW_PATCH_VERSION  0\r
27 \r
28 #include "Modules.h"\r
29 #include "Std_Types.h"\r
30 #include "WdgIf_Cfg.h"\r
31 \r
32 #define WDGIF_SETMODE_ID             0x01\r
33 #define WDGIF_TRIGGER_ID             0x02\r
34 \r
35 #define WDGIF_E_PARAM_DEVICE         0x01\r
36 \r
37 Std_ReturnType WdgIf_SetMode (uint8 DeviceIndex, WdgIf_ModeType Mode);\r
38 \r
39 void WdgIf_Trigger (uint8 DeviceIndex);\r
40 \r
41 #endif /* WDGIF_H_ */\r