TLE986x Device Family SDK
isr.h
Go to the documentation of this file.
1 /*
2  ***********************************************************************************************************************
3  *
4  * Copyright (c) 2015, 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 ** JO Julia Ott **
46 ** BG Blandine Guillot **
47 *******************************************************************************/
48 
49 /*******************************************************************************
50 ** Revision Control History **
51 ********************************************************************************
52 ** V0.1.0: 2014-07-01, DM: Initial version **
53 ** V0.1.1: 2014-07-24, DM: DMA ISRs, interrupt flags now cleared after **
54 ** call of Callback function **
55 ** V0.1.2: 2014-10-31, DM: EXINTx decoding corrected **
56 ** V0.1.3: 2015-02-10, DM: Individual header file added **
57 ** V0.1.4: 2015-07-15, DM: #define DEVICE replaced by #define UC_SERIES **
58 ** BEMF callbacks added **
59 ** V0.1.5: 2015-09-10, DM: BEMF interrupt status flags naming corrected **
60 ** V0.1.6: 2016-07-06, DM: EXTINTx and MON corrected **
61 ** V0.1.7: 2016-08-04, DM: ADC2.MON interrupt handling added (TLE987x) **
62 ** V0.1.8: 2016-10-07, DM: all ISRs: interrupt enable checked at runtime **
63 ** V0.1.9: 2017-02-24, DM: UART2 callbacks fixed **
64 ** V0.2.0: 2017-04-04, DM: NMI ISR: ECC enable defines added **
65 ** V0.2.1: 2017-11-09, DM: ADC34 ISR handling added **
66 ** VDDEXT fail interrupt handling fixed **
67 ** V0.2.2: 2017-11-15, DM: MISRA 2012 compliance, the following PC-Lint **
68 ** rules are globally deactivated: **
69 ** - Info 793: ANSI/ISO limit of 6 'significant **
70 ** characters in an external identifier **
71 ** - Info 835: A zero has been given as right **
72 ** argument to operator **
73 ** - Info 845: The left argument to operator '&' **
74 ** is certain to be 0 **
75 ** The following rules are locally disabled: **
76 ** - Info 762: Redundantly declared symbol '...' **
77 ** previous declaration ... **
78 ** - Note 961: Violates MISRA 1998 Advisory Rule 27,**
79 ** object/function previously declared: '...' **
80 ** - Warning 522: Highest operation, function '...',**
81 ** lacks side-effects [MISRA Rule 53], **
82 ** [MISRA Rule 85] **
83 ** - Note 960: Violates MISRA 1998 Required Rule 115**
84 ** Re-use of C90 identifier pattern **
85 ** V0.2.3: 2018-03-12, DM: The following rules are locally disabled: **
86 ** - Note 9032: Composite expression with smaller **
87 ** essential type than other operand [MISRA 2012 **
88 ** Rule 10.7, required] **
89 ** - Note 9053: the shift value is at least the **
90 ** precision of the essential type of the left **
91 ** hand side [MISRA 2012 Rule 12.2, required] **
92 ** The following rules are activated again: **
93 ** - Note 961: Violates MISRA 1998 Advisory Rule 27,**
94 ** object/function previously declared: '...' **
95 ** - Warning 522: Highest operation, function '...',**
96 ** lacks side-effects [MISRA Rule 53], **
97 ** [MISRA Rule 85] **
98 ** - Note 960: Violates MISRA 1998 Required Rule 115**
99 ** Re-use of C90 identifier pattern **
100 ** V0.2.4: 2018-11-27, JO: Doxygen update, moved revision history from **
101 ** isr.c to isr.h **
102 ** V0.2.5: 2019-02-23, DM: SDADC interrupt handling put into **
103 ** TLE9879-2/TLE9872-2 preprocessor block **
104 ** V0.2.6: 2019-08-01, JO: Change from #ifdef TLE98xy to #ifdef UC_FEATURE_ **
105 ** V0.2.7: 2020-02-28, BG: Updated revision history format **
106 ** V0.2.8: 2020-11-04, JO: EP-545: Define several *_INT_EN to 0 in case **
107 ** they are not defined **
108 *******************************************************************************/
109 
110 #ifndef ISR_H
111 #define ISR_H
112 
113 /*******************************************************************************
114 ** Includes **
115 *******************************************************************************/
124 void GPT1_IRQHandler(void);
125 
126 
135 void GPT2_IRQHandler(void);
136 
137 
148 void ADC2_IRQHandler(void);
149 
150 
162 void ADC1_IRQHandler(void);
163 
164 
178 void CCU6SR0_IRQHandler(void);
179 
180 
194 void CCU6SR1_IRQHandler(void);
195 
196 
210 void CCU6SR2_IRQHandler(void);
211 
212 
226 void CCU6SR3_IRQHandler(void);
227 
228 
237 void SSC1_IRQHandler(void);
238 
239 
248 void SSC2_IRQHandler(void);
249 
250 
261 void UART1_IRQHandler(void);
262 
263 
274 void UART2_IRQHandler(void);
275 
276 
286 void EXINT0_IRQHandler(void);
287 
288 
297 void EXINT1_IRQHandler(void);
298 
299 
316 void BDRV_IRQHandler(void);
317 
318 
331 void DMA_IRQHandler(void);
332 
333 
354 void NMI_Handler(void);
355 
356 
361 void HardFault_Handler(void);
362 
363 
368 void MemManage_Handler(void);
369 
370 
375 void BusFault_Handler(void);
376 
377 
382 void UsageFault_Handler(void);
383 
384 
389 void SysTick_Handler(void);
390 
391 
392 #endif
ADC1_IRQHandler
void ADC1_IRQHandler(void)
The ADC1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
UsageFault_Handler
void UsageFault_Handler(void)
The UsageFault_Handler handles the UsageFault exception.
BDRV_IRQHandler
void BDRV_IRQHandler(void)
The BDRV_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
MemManage_Handler
void MemManage_Handler(void)
The MemManage_Handler handles the MemManage exception.
EXINT1_IRQHandler
void EXINT1_IRQHandler(void)
The EXINT1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled a...
BusFault_Handler
void BusFault_Handler(void)
The BusFault_Handler handles the BusFault exception.
CCU6SR2_IRQHandler
void CCU6SR2_IRQHandler(void)
The SSU6SR2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
NMI_Handler
void NMI_Handler(void)
The NMI_Handler checks which interrupt caused the call of the node handler (interrupt enabled and sta...
DMA_IRQHandler
void DMA_IRQHandler(void)
The DMA_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and ...
SSC2_IRQHandler
void SSC2_IRQHandler(void)
The SSC2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
CCU6SR3_IRQHandler
void CCU6SR3_IRQHandler(void)
The SSU6SR3_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
EXINT0_IRQHandler
void EXINT0_IRQHandler(void)
The EXINT0_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled a...
UART1_IRQHandler
void UART1_IRQHandler(void)
The UART1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled an...
UART2_IRQHandler
void UART2_IRQHandler(void)
The UART2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled an...
HardFault_Handler
void HardFault_Handler(void)
The HardFault_Handler handles the HardFault exception.
ADC2_IRQHandler
void ADC2_IRQHandler(void)
The ADC2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
CCU6SR0_IRQHandler
void CCU6SR0_IRQHandler(void)
The SSU6SR0_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
SSC1_IRQHandler
void SSC1_IRQHandler(void)
The SSC1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
GPT2_IRQHandler
void GPT2_IRQHandler(void)
The GPT2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
GPT1_IRQHandler
void GPT1_IRQHandler(void)
The GPT1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
SysTick_Handler
void SysTick_Handler(void)
The SysTick_Handler handles the SysTick exception.
CCU6SR1_IRQHandler
void CCU6SR1_IRQHandler(void)
The SSU6SR1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...