]> rtime.felk.cvut.cz Git - arc.git/blob - include/WdgIf_Types.h
regenerated configs for all mpc560x targets so they build again. Although bug for...
[arc.git] / include / WdgIf_Types.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_Types.h\r
16  *\r
17  *  Created on: 14 maj 2010\r
18  *      Author: Fredrik\r
19  */\r
20 \r
21 #ifndef WDGIF_TYPES_H_\r
22 #define WDGIF_TYPES_H_\r
23 \r
24 typedef enum\r
25 {\r
26         WDGIF_FAST_MODE,\r
27         WDGIF_OFF_MODE,\r
28         WDGIF_SLOW_MODE\r
29 }WdgIf_ModeType;\r
30 \r
31 typedef void (*Wdg_TriggerLocationPtrType)(void);\r
32 typedef Std_ReturnType (*Wdg_SetModeLocationPtrType)(WdgIf_ModeType Mode);\r
33 \r
34 typedef struct\r
35 {\r
36         const uint8 Wdg_Index;\r
37         Wdg_TriggerLocationPtrType Wdg_TriggerLocationPtr;\r
38         Wdg_SetModeLocationPtrType Wdg_SetModeLocationPtr;\r
39 }Wdg_GeneralType;\r
40 \r
41 #endif /* WDGIF_TYPES_H_ */\r