iLLD_TC27xC  1.0
IfxMultican_cfg.h
Go to the documentation of this file.
1 /**
2  * \file IfxMultican_cfg.h
3  * \brief Multican on-chip implementation data
4  * \ingroup IfxLld_Multican
5  *
6  * \version iLLD_0_1_0_10
7  * \copyright Copyright (c) 2013 Infineon Technologies AG. All rights reserved.
8  *
9  *
10  * IMPORTANT NOTICE
11  *
12  *
13  * Infineon Technologies AG (Infineon) is supplying this file for use
14  * exclusively with Infineon's microcontroller products. This file can be freely
15  * distributed within development tools that are supporting such microcontroller
16  * products.
17  *
18  * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
19  * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
20  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
21  * INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL,
22  * OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
23  *
24  */
25 
26 #ifndef IFXMULTICAN_CFG_H
27 #define IFXMULTICAN_CFG_H 1
28 
29 /******************************************************************************/
30 /*----------------------------------Includes----------------------------------*/
31 /******************************************************************************/
32 
34 #include "IfxCan_reg.h"
35 #include "IfxCan_bf.h"
36 
37 /******************************************************************************/
38 /*-----------------------------------Macros-----------------------------------*/
39 /******************************************************************************/
40 
41 /** \brief Number of CAN message objects
42  */
43 #define IFXMULTICAN_MO_COUNT (256)
44 
45 /** \brief Number of CAN nodes
46  */
47 #define IFXMULTICAN_NODE_COUNT (4)
48 
49 /** \brief Number of service requests
50  */
51 #define IFXMULTICAN_SRC_COUNT (16)
52 
53 
54 
55 /******************************************************************************/
56 /*-------------------------------Enumerations---------------------------------*/
57 /******************************************************************************/
58 
59 /** \brief CAN Nodes definition
60  */
61 typedef enum
62 {
63  IfxMultican_NodeId_none = -1, /**< \brief None of the Ifx_CAN Nodes */
64  IfxMultican_NodeId_0 = 0, /**< \brief Ifx_CAN Node 0 */
65  IfxMultican_NodeId_1, /**< \brief Ifx_CAN Node 1 */
66  IfxMultican_NodeId_2, /**< \brief Ifx_CAN Node 2 */
67  IfxMultican_NodeId_3, /**< \brief Ifx_CAN Node 3 */
69 
70 /** \brief Service request ID
71  */
72 typedef enum
73 {
74  IfxMultican_SrcId_0 = 0, /**< \brief Service request ID 0 */
75  IfxMultican_SrcId_1, /**< \brief Service request ID 1 */
76  IfxMultican_SrcId_2, /**< \brief Service request ID 2 */
77  IfxMultican_SrcId_3, /**< \brief Service request ID 3 */
78  IfxMultican_SrcId_4, /**< \brief Service request ID 4 */
79  IfxMultican_SrcId_5, /**< \brief Service request ID 5 */
80  IfxMultican_SrcId_6, /**< \brief Service request ID 6 */
81  IfxMultican_SrcId_7, /**< \brief Service request ID 7 */
82  IfxMultican_SrcId_8, /**< \brief Service request ID 8 */
83  IfxMultican_SrcId_9, /**< \brief Service request ID 9 */
84  IfxMultican_SrcId_10, /**< \brief Service request ID 10 */
85  IfxMultican_SrcId_11, /**< \brief Service request ID 11 */
86  IfxMultican_SrcId_12, /**< \brief Service request ID 12 */
87  IfxMultican_SrcId_13, /**< \brief Service request ID 13 */
88  IfxMultican_SrcId_14, /**< \brief Service request ID 14 */
89  IfxMultican_SrcId_15, /**< \brief Service request ID 15 */
91 
92 
93 #endif /* IFXMULTICAN_CFG_H */