Infineon MOTIX™ MCU TLE987x Device Family SDK
isr.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  **********************************************************************************************************************/
39 /*******************************************************************************
40 ** Author(s) Identity **
41 ********************************************************************************
42 ** Initials Name **
43 ** ---------------------------------------------------------------------------**
44 ** DM Daniel Mysliwitz **
45 ** BG Blandine Guillot **
46 ** JO Julia Ott **
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 **
101 ** Moved revision history from isr.c to isr.h **
102 ** V0.2.5: 2019-02-23, DM: SDADC interrupt handling put into TLE9879-2/ **
103 ** TLE9872-2 preprocessor block **
104 ** V0.2.6: 2020-04-15, BG: Updated revision history format **
105 ** V0.2.7: 2020-07-21, BG: EP-439: Formatted .h/.c files **
106 ** V0.2.8: 2020-07-31, DM: Defined CCU6_INP to 0 if CCU6 is not added to **
107 ** project **
108 ** V0.2.9: 2022-02-28, JO: EP-936: Updated copyright and branding **
109 *******************************************************************************/
110 
111 #ifndef ISR_H
112 #define ISR_H
113 
114 /*******************************************************************************
115 ** Includes **
116 *******************************************************************************/
125 void GPT1_IRQHandler(void);
126 
127 
136 void GPT2_IRQHandler(void);
137 
138 
149 void ADC2_IRQHandler(void);
150 
151 
163 void ADC1_IRQHandler(void);
164 
165 
180 
181 
196 
197 
212 
213 
228 
229 
238 void SSC1_IRQHandler(void);
239 
240 
249 void SSC2_IRQHandler(void);
250 
251 
262 void UART1_IRQHandler(void);
263 
264 
275 void UART2_IRQHandler(void);
276 
277 
287 void EXINT0_IRQHandler(void);
288 
289 
298 void EXINT1_IRQHandler(void);
299 
300 
317 void BDRV_IRQHandler(void);
318 
319 
332 void DMA_IRQHandler(void);
333 
334 
355 void NMI_Handler(void);
356 
357 
362 void HardFault_Handler(void);
363 
364 
369 void MemManage_Handler(void);
370 
371 
376 void BusFault_Handler(void);
377 
378 
384 
385 
390 void SysTick_Handler(void);
391 
392 
393 #endif
void CCU6SR3_IRQHandler(void)
The SSU6SR3_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
void BDRV_IRQHandler(void)
The BDRV_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void UsageFault_Handler(void)
The UsageFault_Handler handles the UsageFault exception.
void HardFault_Handler(void)
The HardFault_Handler handles the HardFault exception.
void MemManage_Handler(void)
The MemManage_Handler handles the MemManage exception.
void CCU6SR0_IRQHandler(void)
The SSU6SR0_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
void CCU6SR2_IRQHandler(void)
The SSU6SR2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
void CCU6SR1_IRQHandler(void)
The SSU6SR1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled ...
void GPT1_IRQHandler(void)
The GPT1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void EXINT1_IRQHandler(void)
The EXINT1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled a...
void NMI_Handler(void)
The NMI_Handler checks which interrupt caused the call of the node handler (interrupt enabled and sta...
void SSC2_IRQHandler(void)
The SSC2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void UART1_IRQHandler(void)
The UART1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled an...
void BusFault_Handler(void)
The BusFault_Handler handles the BusFault exception.
void ADC1_IRQHandler(void)
The ADC1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void ADC2_IRQHandler(void)
The ADC2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void SSC1_IRQHandler(void)
The SSC1_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...
void EXINT0_IRQHandler(void)
The EXINT0_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled a...
void SysTick_Handler(void)
The SysTick_Handler handles the SysTick exception.
void DMA_IRQHandler(void)
The DMA_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and ...
void UART2_IRQHandler(void)
The UART2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled an...
void GPT2_IRQHandler(void)
The GPT2_IRQHandler checks which interrupt caused the call of the node handler (interrupt enabled and...