]> rtime.felk.cvut.cz Git - arc.git/blob - include/CanSM_ConfigTypes.h
PPC: Sleep mode and wakeup pin now working
[arc.git] / include / CanSM_ConfigTypes.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 \r
17 #ifndef CANSM_CONFIGTYPES_H_\r
18 #define CANSM_CONFIGTYPES_H_\r
19 \r
20 /** @req CANSM010.bswbuilder */\r
21 \r
22 #include "Com.h"\r
23 \r
24 typedef struct {\r
25         const uint8                                             CanIfControllerId;\r
26 } CanSM_ControllerType;\r
27 \r
28 typedef struct {\r
29         const CanSM_ControllerType*             Controllers;\r
30         const uint8                                             ControllerCount;\r
31         const uint8                                             ComMNetworkHandle;\r
32         const Com_PduGroupIdType                ComRxPduGroupId;     /**< @req CANSM091 */\r
33         const Com_PduGroupIdType                ComTxPduGroupId;\r
34         const uint32                    CanSMBorTimeTxEnsured;\r
35         const uint32                    CanSMBorTimeL1;\r
36         const uint32                    CanSMBorTimeL2;\r
37         const uint8                     CanSMBorCounterL1ToL2;\r
38         const uint8                     CanSMBorCounterL2Err;\r
39         const boolean                   CanSMBorTxConfirmationPolling;\r
40         const boolean                   CanSMBorDisableRxDlMonitoring;\r
41 } CanSM_NetworkType;\r
42 \r
43 typedef struct {\r
44         const CanSM_NetworkType*                Networks;\r
45 } CanSM_ConfigType;                                       /**< @req CANSM061 */\r
46 \r
47 #endif /* CANSM_CONFIGTYPES_H_ */\r