iLLD_TC27xD  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_1_0_0_11_0
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  * \defgroup IfxLld_Multican MULTICAN
25  * \ingroup IfxLld
26  * \defgroup IfxLld_Multican_Impl Implementation
27  * \ingroup IfxLld_Multican
28  * \defgroup IfxLld_Multican_Std Standard Driver
29  * \ingroup IfxLld_Multican
30  */
31 
32 #ifndef IFXMULTICAN_CFG_H
33 #define IFXMULTICAN_CFG_H 1
34 
35 /******************************************************************************/
36 /*----------------------------------Includes----------------------------------*/
37 /******************************************************************************/
38 
39 
40 /******************************************************************************/
41 /*-----------------------------------Macros-----------------------------------*/
42 /******************************************************************************/
43 
44 /** \brief Number of CAN message objects
45  */
46 #define IFXMULTICAN_NUM_MESSAGE_OBJECTS (256)
47 
48 /** \brief Number of CAN nodes
49  */
50 #define IFXMULTICAN_NUM_NODES (4)
51 
52 /** \brief Number of service requests
53  */
54 #define IFXMULTICAN_NUM_SRC (16)
55 
56 
57 
58 /******************************************************************************/
59 /*-------------------------------Enumerations---------------------------------*/
60 /******************************************************************************/
61 
62 /** \brief CAN Nodes definition
63  */
64 typedef enum
65 {
66  IfxMultican_NodeId_none = -1, /**< \brief None of the Ifx_CAN Nodes */
67  IfxMultican_NodeId_0 = 0, /**< \brief Ifx_CAN Node 0 */
68  IfxMultican_NodeId_1, /**< \brief Ifx_CAN Node 1 */
69  IfxMultican_NodeId_2, /**< \brief Ifx_CAN Node 2 */
70  IfxMultican_NodeId_3 /**< \brief Ifx_CAN Node 3 */
72 
73 /** \brief Service request ID
74  */
75 typedef enum
76 {
77  IfxMultican_SrcId_0 = 0, /**< \brief Service request ID 0 */
78  IfxMultican_SrcId_1, /**< \brief Service request ID 1 */
79  IfxMultican_SrcId_2, /**< \brief Service request ID 2 */
80  IfxMultican_SrcId_3, /**< \brief Service request ID 3 */
81  IfxMultican_SrcId_4, /**< \brief Service request ID 4 */
82  IfxMultican_SrcId_5, /**< \brief Service request ID 5 */
83  IfxMultican_SrcId_6, /**< \brief Service request ID 6 */
84  IfxMultican_SrcId_7, /**< \brief Service request ID 7 */
85  IfxMultican_SrcId_8, /**< \brief Service request ID 8 */
86  IfxMultican_SrcId_9, /**< \brief Service request ID 9 */
87  IfxMultican_SrcId_10, /**< \brief Service request ID 10 */
88  IfxMultican_SrcId_11, /**< \brief Service request ID 11 */
89  IfxMultican_SrcId_12, /**< \brief Service request ID 12 */
90  IfxMultican_SrcId_13, /**< \brief Service request ID 13 */
91  IfxMultican_SrcId_14, /**< \brief Service request ID 14 */
92  IfxMultican_SrcId_15 /**< \brief Service request ID 15 */
94 
95 
96 #endif /* IFXMULTICAN_CFG_H */