]> rtime.felk.cvut.cz Git - arc.git/blob - examples/wdg_node/config/stm32_mcbstm32/WdgIf_Cfg.h
Cleanup of some drivers. Re-generated examples for mpc551xsim
[arc.git] / examples / wdg_node / config / stm32_mcbstm32 / WdgIf_Cfg.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 \r
16 #ifndef WDGIF_CFG_H_\r
17 #define WDGIF_CFG_H_\r
18 \r
19 #include "Std_Types.h"\r
20 #include "WdgIf_Types.h"\r
21 \r
22 typedef struct\r
23 {\r
24         uint8 WdgIf_DeviceIndex;\r
25         const Wdg_GeneralType *WdgRef;\r
26 }WdgIf_DeviceType;\r
27 \r
28 typedef struct\r
29 {\r
30         uint8 WdgIf_NumberOfDevices;\r
31 }WdgIf_GeneralType;\r
32 \r
33 typedef struct\r
34 {\r
35         const WdgIf_GeneralType   *WdgIf_General;\r
36         const WdgIf_DeviceType    *WdgIf_Device;\r
37 }WdgIf_ConfigType;\r
38 \r
39 extern const WdgIf_DeviceType WdgIfDevice[];\r
40 extern const WdgIf_ConfigType WdgIfConfig;\r
41 #endif /* WDGIF_CFG_H_ */\r