Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
device
startup
inc
system_tle989x.h
Go to the documentation of this file.
1
/*
2
***********************************************************************************************************************
3
*
4
* Copyright (c) 2022 Infineon Technologies AG
5
* All rights reserved.
6
*
7
* Redistribution and use in source and binary forms, with or without modification,are permitted provided that the
8
* following conditions are met:
9
*
10
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following
11
* disclaimer.
12
*
13
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
14
* following disclaimer in the documentation and/or other materials provided with the distribution.
15
*
16
* Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote
17
* products derived from this software without specific prior written permission.
18
*
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
20
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24
* WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
25
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
*
27
**********************************************************************************************************************/
37
/*******************************************************************************
38
** Author(s) Identity **
39
********************************************************************************
40
** Initials Name **
41
** ---------------------------------------------------------------------------**
42
** DM Daniel Mysliwitz **
43
** BG Blandine Guillot **
44
** JO Julia Ott **
45
*******************************************************************************/
46
47
/*******************************************************************************
48
** Revision Control History **
49
********************************************************************************
50
** V0.1.0: 2019-10-28, DM: Initial version **
51
** V0.2.0: 2020-04-28, BG: Updated revision history format **
52
** V0.2.1: 2020-10-06, BG: EP-492: Removed MISRA 2012 errors **
53
** V0.2.2: 2020-10-15, BG: EP-515: Updated the fail-safe watchdog init **
54
** V0.3.0: 2020-10-15, JO: EP-525: Set VTOR register to 0x11000100 at the **
55
** beginning of function System_init **
56
** V0.4.0: 2020-10-19, JO: EP-524: Added initSysTick before SCU_initClk to **
57
** initialize Systick before (delay function **
58
** needed for XTAL startup timeout) **
59
** Added handling of return value of SCU_initClk() **
60
** V0.4.1: 2020-11-12, JO: EP-590: Removed \param none and \return none to **
61
** avoid doxygen warning **
62
** V0.4.2: 2020-11-12, JO: EP-582: Renamed System_init to SystemInit, **
63
** Changed return type of SystemInit to void (both **
64
** to be CMSIS standard compliant) **
65
** Updated location of command to relocate the **
66
** vector table **
67
** Added external variable e_systemInitReturnCode **
68
** that contains the return code of SystemInit **
69
** V0.4.3: 2020-12-18, DM: EP-601: Removed global status variable for **
70
** SystemInit **
71
** Updated loading of VTOR register **
72
** V0.4.4: 2021-07-12, JO: EP-873: Added include of cmsis_misra.h **
73
** V0.4.5: 2021-11-11, JO: EP-937: Updated copyright and branding **
74
** V0.4.6: 2022-09-23, JO: EP-1243: Removed writing VTOR (done in firmware),**
75
** call PMU_initFailSafeWatchdog based on CW define **
76
*******************************************************************************/
77
78
#ifndef __SYSTEM_TLE989x_H
79
#define __SYSTEM_TLE989x_H
80
81
/*******************************************************************************
82
** Includes **
83
*******************************************************************************/
84
85
#include "
types.h
"
86
#include "
cmsis_misra.h
"
87
88
#ifdef __cplusplus
89
extern
"C"
{
90
#endif
91
92
/*******************************************************************************
93
** Global Variable Declarations **
94
*******************************************************************************/
95
96
97
/*******************************************************************************
98
** Global Function Declarations **
99
*******************************************************************************/
100
101
void
SystemInit
(
void
);
102
103
#ifdef __cplusplus
104
}
105
#endif
106
107
#endif
/* __SYSTEM_TLE988x_H */
cmsis_misra.h
CMSIS Intrinsics access.
SystemInit
void SystemInit(void)
Initialize the system.
Definition:
system_tle988x.c:46
types.h
General type declarations.
Generated by
1.9.1