iLLD_TC27xC  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_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 IFXMTU_CFG_H
27 #define IFXMTU_CFG_H 1
28 
29 /******************************************************************************/
30 /*----------------------------------Includes----------------------------------*/
31 /******************************************************************************/
32 
33 #include "Cpu/Std/IfxCpu.h"
35 #include "_Reg/IfxMtu_reg.h"
36 #include "_Reg/IfxMc_reg.h"
37 
38 /******************************************************************************/
39 /*-----------------------------------Macros-----------------------------------*/
40 /******************************************************************************/
41 
42 /** \brief Base address of first MBIST Control Block
43  */
44 #define IFXMTU_MC_ADDRESS_BASE (0xF0061000u)
45 
46 /** \brief Number of MBIST Table items
47  */
48 #define IFXMTU_NUM_MBIST_TABLE_ITEMS (84)
49 
50 /** \brief Maximum number of tracked SRAM addresses (ETTR)
51  */
52 #define IFXMTU_MAX_TRACKED_ADDRESSES (5)
53 
54 /******************************************************************************/
55 /*-------------------------------Enumerations---------------------------------*/
56 /******************************************************************************/
57 
58 /** \brief MBIST Selection
59  */
60 typedef enum
61 {
113 
114 /******************************************************************************/
115 /*-----------------------------Data Structures--------------------------------*/
116 /******************************************************************************/
117 
118 /** \brief Descripes physical parameters of a SRAM memory
119  */
120 typedef struct
121 {
122  uint8 numBlocks; /**< \brief number of SRAM blocks */
123  uint16 dataSize; /**< \brief Data Size of each memory block */
124  uint8 eccSize; /**< \brief ECC Size of each memory block */
125  uint8 eccInvPos0; /**< \brief First ECC bit which needs to be inverted */
126  uint8 eccInvPos1; /**< \brief Second ECC bit which needs to be inverted */
128 
129 /******************************************************************************/
130 /*-------------------Global Exported Variables/Constants----------------------*/
131 /******************************************************************************/
132 
134 
135 #endif /* IFXMTU_CFG_H */