Infineon MOTIX™ MCU TLE985x Device Family SDK
system_tle985x.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) 2017-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  **********************************************************************************************************************/
39 /*******************************************************************************
40 ** Author(s) Identity **
41 ********************************************************************************
42 ** Initials Name **
43 ** ---------------------------------------------------------------------------**
44 ** DM Daniel Mysliwitz **
45 ** BG Blandine Guillot **
46 *******************************************************************************/
47 
48 /*******************************************************************************
49 ** Revision Control History **
50 ********************************************************************************
51 ** V0.1.0: 2017-07-07, DM: Initial version **
52 ** V0.1.1: 2019-02-06, DM: XTAL, OSC_CLK, FSYS defines removed **
53 ** _NOP_ define removed **
54 ** SysTick_Init() added to SystemInit() function **
55 ** V0.1.2: 2020-03-02, BG: Updated revision history format **
56 ** V0.1.3: 2020-07-28, JO: EP-431: Added extern declaration for p_NACNAD **
57 ** to remove ARMCC v6 warning **
58 ** Changed type of SystemFrequency from uint32_t to **
59 ** uint32 **
60 ** Added include of system_tle985x.h to **
61 ** system_tle985x.c **
62 ** V0.2.0: 2022-01-19, BG: EP-904: Added compatibility with IAR compiler **
63 ** V0.2.1: 2022-01-21, JO: EP-934: Updated copyright and branding **
64 ** V0.2.2: 2022-04-26, JO: EP-844: Fixed NACNAD placement when using ARMCC **
65 ** v6 and LTO by adding attribute used **
66 *******************************************************************************/
67 
68 #ifndef __SYSTEM_TLE985x_H
69 #define __SYSTEM_TLE985x_H
70 
71 /*******************************************************************************
72 ** Includes **
73 *******************************************************************************/
74 #include "types.h"
75 
76 #ifdef __cplusplus
77  extern "C" {
78 #endif
79 
80 /*******************************************************************************
81 ** Global Variable Definitions **
82 *******************************************************************************/
83 
84 extern uint32 SystemFrequency;
85 extern const uint32 p_NACNAD;
86 
87 /*******************************************************************************
88 ** Global Function Declarations **
89 *******************************************************************************/
90 
93 void SystemInit (void);
94 
95 #ifdef __cplusplus
96 }
97 #endif
98 
99 #endif /* __SYSTEM_TLE985x_H */
void SystemInit(void)
Initialize System, clock and watchdog1.
uint32 SystemFrequency
const uint32 p_NACNAD
General type declarations.
uint32_t uint32
32 bit unsigned value
Definition: types.h:155