iLLD_TC27xC  1.0
IfxPsi5_PinMap.h
Go to the documentation of this file.
1 /**
2  * \file IfxPsi5_PinMap.h
3  * \brief PSI5 I/O map
4  * \ingroup IfxLld_Psi5
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_Psi5_pinmap PSI5 Pin Mapping
25  * \ingroup IfxLld_Psi5
26  */
27 
28 #ifndef IFXPSI5_PINMAP_H
29 #define IFXPSI5_PINMAP_H
30 
31 #include <_Reg/IfxPsi5_reg.h>
32 #include <_Impl/IfxPsi5_cfg.h>
33 #include <Port/Std/IfxPort.h>
34 
35 /** \addtogroup IfxLld_Psi5_pinmap
36  * \{ */
37 
38 /** \brief RX pin mapping structure */
39 typedef const struct
40 {
41  Ifx_PSI5* module; /**< \brief Base address */
42  IfxPsi5_ChannelId channelId; /**< \brief Channel ID */
43  IfxPort_Pin pin; /**< \brief Port pin */
44  Ifx_RxSel select; /**< \brief Input multiplexer value */
46 
47 /** \brief TX pin mapping structure */
48 typedef const struct
49 {
50  Ifx_PSI5* module; /**< \brief Base address */
51  IfxPsi5_ChannelId channelId; /**< \brief Channel ID */
52  IfxPort_Pin pin; /**< \brief Port pin */
53  IfxPort_OutputIdx select; /**< \brief Port control code */
55 
56 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX0A_P00_1_IN; /**< \brief PSI5_RX0A: PSI5 input */
57 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX0B_P02_3_IN; /**< \brief PSI5_RX0B: PSI5 input */
58 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX0C_P33_1_IN; /**< \brief PSI5_RX0C: PSI5 input */
59 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX1A_P00_3_IN; /**< \brief PSI5_RX1A: PSI5 input */
60 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX1B_P02_5_IN; /**< \brief PSI5_RX1B: PSI5 input */
61 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX1C_P33_3_IN; /**< \brief PSI5_RX1C: PSI5 input */
62 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX2A_P00_5_IN; /**< \brief PSI5_RX2A: PSI5 input */
63 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX2B_P02_7_IN; /**< \brief PSI5_RX2B: PSI5 input */
64 IFX_EXTERN IfxPsi5_Rx_In IfxPsi5_RX2C_P33_5_IN; /**< \brief PSI5_RX2C: PSI5 input */
65 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX0_P00_2_OUT; /**< \brief PSI5_TX0: PSI5 output */
66 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX0_P02_2_OUT; /**< \brief PSI5_TX0: PSI5 output */
67 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX0_P33_2_OUT; /**< \brief PSI5_TX0: PSI5 output */
68 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX1_P00_4_OUT; /**< \brief PSI5_TX1: PSI5 output */
69 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX1_P02_6_OUT; /**< \brief PSI5_TX1: PSI5 output */
70 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX1_P33_4_OUT; /**< \brief PSI5_TX1: PSI5 output */
71 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX2_P00_6_OUT; /**< \brief PSI5_TX2: PSI5 output */
72 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX2_P02_8_OUT; /**< \brief PSI5_TX2: PSI5 output */
73 IFX_EXTERN IfxPsi5_Tx_Out IfxPsi5_TX2_P33_6_OUT; /**< \brief PSI5_TX2: PSI5 output */
74 
75 /** \brief Table dimensions */
76 #define IFXPSI5_PINMAP_NUM_MODULES 1
77 #define IFXPSI5_PINMAP_NUM_CHANNELS 3
78 #define IFXPSI5_PINMAP_RX_IN_NUM_ITEMS 3
79 #define IFXPSI5_PINMAP_TX_OUT_NUM_ITEMS 3
80 
81 
82 /** \brief IfxPsi5_Rx_In table */
84 
85 /** \brief IfxPsi5_Tx_Out table */
87 
88 /** \} */
89 
90 #endif /* IFXPSI5_PINMAP_H */