iLLD_TC27xC  1.0
IfxEray_PinMap.h
Go to the documentation of this file.
1 /**
2  * \file IfxEray_PinMap.h
3  * \brief ERAY I/O map
4  * \ingroup IfxLld_Eray
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  * \defgroup IfxLld_Eray_pinmap ERAY Pin Mapping
25  * \ingroup IfxLld_Eray
26  */
27 
28 #ifndef IFXERAY_PINMAP_H
29 #define IFXERAY_PINMAP_H
30 
31 #include <_Reg/IfxEray_reg.h>
32 #include <_Impl/IfxEray_cfg.h>
33 #include <Port/Std/IfxPort.h>
34 
35 /** \addtogroup IfxLld_Eray_pinmap
36  * \{ */
37 
38 /** \brief RXD pin mapping structure */
39 typedef const struct
40 {
41  Ifx_ERAY* module; /**< \brief Base address */
42  IfxEray_NodeId nodeId; /**< \brief Node ID */
43  IfxPort_Pin pin; /**< \brief Port pin */
44  Ifx_RxSel select; /**< \brief Input multiplexer value */
46 
47 /** \brief TXD pin mapping structure */
48 typedef const struct
49 {
50  Ifx_ERAY* module; /**< \brief Base address */
51  IfxEray_NodeId nodeId; /**< \brief Node ID */
52  IfxPort_Pin pin; /**< \brief Port pin */
53  IfxPort_OutputIdx select; /**< \brief Port control code */
55 
56 /** \brief TXEN pin mapping structure */
57 typedef const struct
58 {
59  Ifx_ERAY* module; /**< \brief Base address */
60  IfxEray_NodeId nodeId; /**< \brief Node ID */
61  IfxPort_Pin pin; /**< \brief Port pin */
62  IfxPort_OutputIdx select; /**< \brief Port control code */
64 
65 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDA0_P14_8_IN; /**< \brief ERAY_RXDA0: ERAY input */
66 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDA1_P11_9_IN; /**< \brief ERAY_RXDA1: ERAY input */
67 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDA2_P02_1_IN; /**< \brief ERAY_RXDA2: ERAY input */
68 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDA3_P14_1_IN; /**< \brief ERAY_RXDA3: ERAY input */
69 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDB0_P14_7_IN; /**< \brief ERAY_RXDB0: ERAY input */
70 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDB1_P11_10_IN; /**< \brief ERAY_RXDB1: ERAY input */
71 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDB2_P02_3_IN; /**< \brief ERAY_RXDB2: ERAY input */
72 IFX_EXTERN IfxEray_Rxd_In IfxEray0_RXDB3_P14_1_IN; /**< \brief ERAY_RXDB3: ERAY input */
73 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDA_P02_0_OUT; /**< \brief ERAY_TXDA: ERAY output */
74 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDA_P11_3_OUT; /**< \brief ERAY_TXDA: ERAY output */
75 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDA_P14_0_OUT; /**< \brief ERAY_TXDA: ERAY output */
76 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDA_P14_10_OUT; /**< \brief ERAY_TXDA: ERAY output */
77 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDB_P02_2_OUT; /**< \brief ERAY_TXDB: ERAY output */
78 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDB_P11_12_OUT; /**< \brief ERAY_TXDB: ERAY output */
79 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDB_P14_0_OUT; /**< \brief ERAY_TXDB: ERAY output */
80 IFX_EXTERN IfxEray_Txd_Out IfxEray0_TXDB_P14_5_OUT; /**< \brief ERAY_TXDB: ERAY output */
81 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENA_P02_4_OUT; /**< \brief ERAY_TXENA: ERAY output */
82 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENA_P11_6_OUT; /**< \brief ERAY_TXENA: ERAY output */
83 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENA_P14_9_OUT; /**< \brief ERAY_TXENA: ERAY output */
84 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENB_P02_5_OUT; /**< \brief ERAY_TXENB: ERAY output */
85 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENB_P11_11_OUT; /**< \brief ERAY_TXENB: ERAY output */
86 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENB_P11_6_OUT; /**< \brief ERAY_TXENB: ERAY output */
87 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENB_P14_6_OUT; /**< \brief ERAY_TXENB: ERAY output */
88 IFX_EXTERN IfxEray_Txen_Out IfxEray0_TXENB_P14_9_OUT; /**< \brief ERAY_TXENB: ERAY output */
89 
90 /** \brief Table dimensions */
91 #define IFXERAY_PINMAP_NUM_MODULES 1
92 #define IFXERAY_PINMAP_NUM_NODES 2
93 #define IFXERAY_PINMAP_RXD_IN_NUM_ITEMS 4
94 #define IFXERAY_PINMAP_TXD_OUT_NUM_ITEMS 4
95 #define IFXERAY_PINMAP_TXEN_OUT_NUM_ITEMS 5
96 
97 
98 /** \brief IfxEray_Rxd_In table */
100 
101 /** \brief IfxEray_Txd_Out table */
103 
104 /** \brief IfxEray_Txen_Out table */
106 
107 /** \} */
108 
109 #endif /* IFXERAY_PINMAP_H */