Infineon MOTIX™ MCU TLE987x Device Family SDK
tle_device.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 *******************************************************************************/
46 
47 /*******************************************************************************
48 ** Revision Control History **
49 ********************************************************************************
50 ** V0.1.0: 2017-04-18, DM: Initial version **
51 ** V0.1.1: 2017-11-21, DM: SDADC added **
52 ** MISRA 2012 compliance, the following PC-Lint **
53 ** rules are globally deactivated: **
54 ** - Info 793: ANSI/ISO limit of 6 'significant **
55 ** characters in an external identifier **
56 ** - Info 718: Symbol '...' undeclared, assumed to **
57 ** return int [MISRA Rule 20], [MISRA Rule 71] **
58 ** - Info 746: call to function '...' not made in **
59 ** the presence of a prototype [MISRA Rule 71] **
60 ** void CMSIS_Irq_Dis(void) added **
61 ** void CMSIS_Irq_En(void) added **
62 ** void CMSIS_NOP(void) added **
63 ** V1.0.8: 2018-12-05, DM: Revision history for tle_device.c/.h files **
64 ** merged together **
65 ** V1.0.9: 2018-12-10, JO: Moved memory layout and defines for the device **
66 ** variant to new file tle_variants.h **
67 ** V1.1.0: 2020-04-15, BG: Updated revision history format **
68 ** V1.1.1: 2020-07-21, BG: EP-439: Formatted .h/.c files **
69 ** V1.1.2: 2022-02-28, JO: EP-936: Updated copyright and branding **
70 ** V1.1.3: 2022-12-12, JO: EP-1337: Moved PORT_Init to the end of TLE_init **
71 *******************************************************************************/
72 
73 #ifndef _TLE_DEVICE_H
74 #define _TLE_DEVICE_H
75 
76 #include "tle_variants.h"
77 #include "RTE_Components.h"
78 
79 #ifdef RTE_DEVICE_SDK_BROM
80  #include "bootrom.h"
81 #endif
82 #ifdef RTE_DEVICE_SDK_WDT1
83  #include "wdt1.h"
84 #endif
85 #ifdef RTE_DEVICE_SDK_SCU
86  #include "scu.h"
87 #endif
88 #ifdef RTE_DEVICE_SDK_PMU
89  #include "pmu.h"
90 #endif
91 #ifdef RTE_DEVICE_SDK_ADC1
92  #include "adc1.h"
93 #endif
94 #ifdef RTE_DEVICE_SDK_ADC2
95  #include "adc2.h"
96 #endif
97 #ifdef RTE_DEVICE_SDK_ADC34
98  #include "sdadc.h"
99 #endif
100 #ifdef RTE_DEVICE_SDK_BDRV
101  #include "bdrv.h"
102 #endif
103 #ifdef RTE_DEVICE_SDK_CCU6
104  #include "ccu6.h"
105 #endif
106 #ifdef RTE_DEVICE_SDK_CSA
107  #include "csa.h"
108 #endif
109 #ifdef RTE_DEVICE_SDK_GPT12E
110  #include "gpt12e.h"
111 #endif
112 #ifdef RTE_DEVICE_SDK_INT
113  #include "int.h"
114 #endif
115 #ifdef RTE_DEVICE_SDK_ISR
116  #include "isr.h"
117 #endif
118 #ifdef RTE_DEVICE_SDK_LIN
119  #include "lin.h"
120 #endif
121 #ifdef RTE_DEVICE_SDK_MON
122  #include "mon.h"
123 #endif
124 #ifdef RTE_DEVICE_SDK_PORT
125  #include "port.h"
126 #endif
127 #ifdef RTE_DEVICE_SDK_SSC
128  #include "ssc.h"
129 #endif
130 #ifdef RTE_DEVICE_SDK_TIMER2X
131  #include "timer2x.h"
132 #endif
133 #ifdef RTE_DEVICE_SDK_TIMER3
134  #include "timer3.h"
135 #endif
136 #ifdef RTE_DEVICE_SDK_UART
137  #include "uart.h"
138 #endif
139 #ifdef RTE_DEVICE_SDK_DMA
140  #include "dma.h"
141 #endif
142 
147 void TLE_Init(void);
148 
149 #endif
ADC1 low level access library.
ADC2 low level access library.
Bridge Driver low level access library.
BootROM low level access library.
Capture/Compare Unit 6 low level access library.
Current Sense Amplifier low level access library.
Direct Memory Access low level access library.
General Purpose Timer 12 Encoder low level access library.
Interrupt low level access library.
Interrupt Service Routines low level access library.
LIN low level access library.
High Voltage Monitor Input low level access library.
Power Management Unit low level access library.
Port/GPIO low level access library.
System Control Unit low level access library.
Sigma Delta ADC low level access library.
High-Speed Synchronous Serial Interface low level access library.
Timer2/Timer21 low level access library.
Timer3 low level access library.
void TLE_Init(void)
Initializes the TLE modules.
Device specific memory layout defines.
UART low level access library.
Window Watchdog 1 low level access library.