iLLD_TC27xC
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_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 IFXCPU_CFG_H
27
#define IFXCPU_CFG_H 1
28
29
/******************************************************************************/
30
/*----------------------------------Includes----------------------------------*/
31
/******************************************************************************/
32
33
#include "
Cpu/Std/IfxCpu_Intrinsics.h
"
34
#include "IfxCpu_reg.h"
35
36
/******************************************************************************/
37
/*-----------------------------------Macros-----------------------------------*/
38
/******************************************************************************/
39
40
/** \brief CPU count
41
*/
42
#define IFXCPU_COUNT (3)
43
44
/** \brief Segment number of cachable flash region
45
*/
46
#define IFXCPU_CACHABLE_FLASH_SEGMENT (8)
47
48
/** \brief Segment number of cachable LMU region
49
*/
50
#define IFXCPU_CACHABLE_LMU_SEGMENT (9)
51
52
53
54
/******************************************************************************/
55
/*-------------------------------Enumerations---------------------------------*/
56
/******************************************************************************/
57
58
/** \brief Halt status
59
*/
60
typedef
enum
61
{
62
IfxCpu_DBGST_HALT_run
= 0,
63
IfxCpu_DBGST_HALT_halt
= 1
64
}
IfxCpu_DBGST_HALT
;
65
66
/** \brief Power management status
67
*/
68
typedef
enum
69
{
70
IfxCpu_PMCSR_PMST_normalMode
= 1,
71
IfxCpu_PMCSR_PMST_idleModeRequest
= 2,
72
IfxCpu_PMCSR_PMST_idleMode
= 3,
73
IfxCpu_PMCSR_PMST_sleepModeRequest
= 4,
74
IfxCpu_PMCSR_PMST_standbyModeRequest
= 6
75
}
IfxCpu_PMCSR_PMST
;
76
77
/** \brief List of the available CPU resources
78
*/
79
typedef
enum
80
{
81
IfxCpu_ResourceCpu_0
= 0,
/**< \brief CPU 0 */
82
IfxCpu_ResourceCpu_1
,
/**< \brief CPU 1 */
83
IfxCpu_ResourceCpu_2
,
/**< \brief CPU 2 */
84
IfxCpu_ResourceCpu_none
/**< \brief None of the CPU */
85
}
IfxCpu_ResourceCpu
;
86
87
88
/******************************************************************************/
89
/*-------------------Global Exported Variables/Constants----------------------*/
90
/******************************************************************************/
91
92
IFX_EXTERN
const
IfxModule_IndexMap
IfxCpu_cfg_indexMap
[
IFXCPU_COUNT
];
93
94
95
#endif
/* IFXCPU_CFG_H */
home
mclld
Libraries
release
iLLD_0_1_0_10
src
ifx
TC27xC
_Impl
IfxCpu_cfg.h
Generated by
1.8.4