iLLD_TC27xD  1.0
IfxMtu_cfg.h
Go to the documentation of this file.
1 /**
2  * \file IfxMtu_cfg.h
3  * \brief Mtu on-chip implementation data
4  * \ingroup IfxLld_Mtu
5  *
6  * \version iLLD_1_0_0_11_0
7  * \copyright Copyright (c) 2015 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_Mtu MTU
25  * \ingroup IfxLld
26  * \defgroup IfxLld_Mtu_Impl Implementation
27  * \ingroup IfxLld_Mtu
28  * \defgroup IfxLld_Mtu_Std Standard Driver
29  * \ingroup IfxLld_Mtu
30  */
31 
32 #ifndef IFXMTU_CFG_H
33 #define IFXMTU_CFG_H 1
34 
35 /******************************************************************************/
36 /*----------------------------------Includes----------------------------------*/
37 /******************************************************************************/
38 
39 #include "Cpu/Std/IfxCpu.h"
41 #include "IfxMtu_reg.h"
42 #include "IfxMc_reg.h"
43 
44 /******************************************************************************/
45 /*-----------------------------------Macros-----------------------------------*/
46 /******************************************************************************/
47 
48 /** \brief Base address of first MBIST Control Block
49  */
50 #define IFXMTU_MC_ADDRESS_BASE (0xF0061000u)
51 
52 /** \brief Number of MBIST Table items
53  */
54 #define IFXMTU_NUM_MBIST_TABLE_ITEMS (84)
55 
56 /** \brief Maximum number of tracked SRAM addresses (ETTR)
57  */
58 #define IFXMTU_MAX_TRACKED_ADDRESSES (5)
59 
60 /******************************************************************************/
61 /*-------------------------------Enumerations---------------------------------*/
62 /******************************************************************************/
63 
64 /** \brief MBIST Selection
65  */
66 typedef enum
67 {
119 
120 /******************************************************************************/
121 /*-----------------------------Data Structures--------------------------------*/
122 /******************************************************************************/
123 
124 /** \brief Describes physical parameters of a SRAM memory
125  */
126 typedef struct
127 {
128  uint8 numBlocks; /**< \brief number of SRAM blocks */
129  uint16 dataSize; /**< \brief Data Size of each memory block */
130  uint8 eccSize; /**< \brief ECC Size of each memory block */
131  uint8 eccInvPos0; /**< \brief First ECC bit which needs to be inverted */
132  uint8 eccInvPos1; /**< \brief Second ECC bit which needs to be inverted */
133  uint32 mbistDelay; /**< \brief Mbist Delay */
135 
136 /******************************************************************************/
137 /*-------------------Global Exported Variables/Constants----------------------*/
138 /******************************************************************************/
139 
141 
142 #endif /* IFXMTU_CFG_H */