Infineon MOTIX™ MCU TLE987x Device Family SDK
system_tle987x.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) 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 ** JO Julia Ott **
44 ** BG Blandine Guillot **
45 ** VO Vanessa Ongaro **
46 *******************************************************************************/
47 
48 /*******************************************************************************
49 ** Revision Control History **
50 ********************************************************************************
51 ** V0.0.2: 2017-11-10, DM: Latest system_tle987x.h version **
52 ** V0.4.0: 2017-11-10, DM: Latest system_tle987x.c version **
53 ** V0.4.1: 2018-12-05, DM: system_tle987x.h, system_tle987x.c revisions **
54 ** merged **
55 ** V0.4.2: 2019-02-04, DM: NAC/NAD pointer modified to be ARMCC v6 compliant**
56 ** V0.4.3: 2019-09-13, JO: Corrected filename in Revision Control History **
57 ** V0.4.4: 2020-04-15, BG: Updated revision history format **
58 ** V0.4.5: 2020-07-14, JO: Added #include "system_tle987x.h" to **
59 ** system_tle987x.c **
60 ** V0.4.6: 2020-07-21, BG: EP-439: Formatted .h/.c files **
61 ** V0.4.7: 2021-05-28, BG: EP-175: Added compatibility with IAR compiler **
62 ** V0.4.8: 2021-06-15, JO: EP-840: Fixed NACNAD placement when using ARMCC **
63 ** v6 and LTO by adding attribute used **
64 ** Added #error Unsupported compiler! in case no **
65 ** supported compiler define is found **
66 ** V0.4.9: 2022-02-28, JO: EP-936: Updated copyright and branding **
67 ** V0.5.0: 2022-11-04, VO: EP-1323: Corrected NAC/NAD placement with IAR **
68 *******************************************************************************/
69 
70 #ifndef __SYSTEM_TLE987x_H
71 #define __SYSTEM_TLE987x_H
72 
73 /*******************************************************************************
74 ** Includes **
75 *******************************************************************************/
76 #include "types.h"
77 
78 #ifdef __cplusplus
79 extern "C" {
80 #endif
81 
82 extern uint32 SystemFrequency;
83 extern const uint32 p_NACNAD;
84 
87 void SystemInit (void);
88 
89 #ifdef __cplusplus
90 }
91 #endif
92 
93 #endif /* __SYSTEM_TLE987x_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