iLLD_TC27xD  1.0
IfxCpu_cfg.h
Go to the documentation of this file.
1 /**
2  * \file IfxCpu_cfg.h
3  * \brief CPU on-chip implementation data
4  * \ingroup IfxLld_Cpu
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_Cpu CPU
25  * \ingroup IfxLld
26  * \defgroup IfxLld_Cpu_Impl Implementation
27  * \ingroup IfxLld_Cpu
28  * \defgroup IfxLld_Cpu_Std Standard Driver
29  * \ingroup IfxLld_Cpu
30  */
31 
32 #ifndef IFXCPU_CFG_H
33 #define IFXCPU_CFG_H 1
34 
35 /******************************************************************************/
36 /*----------------------------------Includes----------------------------------*/
37 /******************************************************************************/
38 
40 #include "IfxCpu_reg.h"
41 
42 /******************************************************************************/
43 /*-----------------------------------Macros-----------------------------------*/
44 /******************************************************************************/
45 
46 /** \brief CPU count
47  */
48 #define IFXCPU_NUM_MODULES (3)
49 
50 /** \brief Segment number of cachable flash region
51  */
52 #define IFXCPU_CACHABLE_FLASH_SEGMENT (8)
53 
54 /** \brief Segment number of cachable LMU region
55  */
56 #define IFXCPU_CACHABLE_LMU_SEGMENT (9)
57 
58 /******************************************************************************/
59 /*-------------------------------Enumerations---------------------------------*/
60 /******************************************************************************/
61 
62 /** \brief Halt status
63  */
64 typedef enum
65 {
69 
70 /** \brief Power management status
71  */
72 typedef enum
73 {
80 
81 /** \brief List of the available CPU resources
82  */
83 typedef enum
84 {
85  IfxCpu_ResourceCpu_0 = 0, /**< \brief CPU 0 */
86  IfxCpu_ResourceCpu_1 = 1, /**< \brief CPU 1 */
87  IfxCpu_ResourceCpu_2 = 2, /**< \brief CPU 2 */
88  IfxCpu_ResourceCpu_none /**< \brief None of the CPU */
90 
91 /******************************************************************************/
92 /*-------------------Global Exported Variables/Constants----------------------*/
93 /******************************************************************************/
94 
96 
97 #endif /* IFXCPU_CFG_H */