1 |
577 |
jeremybenn |
/******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
|
2 |
|
|
* File Name : 75x_it.c
|
3 |
|
|
* Author : MCD Application Team
|
4 |
|
|
* Date First Issued : 03/10/2006
|
5 |
|
|
* Description : Main Interrupt Service Routines.
|
6 |
|
|
* This file can be used to describe all the exceptions
|
7 |
|
|
* subroutines that may occur within user application.
|
8 |
|
|
* When an interrupt happens, the software will branch
|
9 |
|
|
* automatically to the corresponding routine according
|
10 |
|
|
* to the interrupt vector loaded in the PC register.
|
11 |
|
|
* The following routines are all empty, user can write code
|
12 |
|
|
* for exceptions handlers and peripherals IRQ interrupts.
|
13 |
|
|
********************************************************************************
|
14 |
|
|
* History:
|
15 |
|
|
* 07/17/2006 : V1.0
|
16 |
|
|
* 03/10/2006 : V0.1
|
17 |
|
|
********************************************************************************
|
18 |
|
|
* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
|
19 |
|
|
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
|
20 |
|
|
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
|
21 |
|
|
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
|
22 |
|
|
* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
|
23 |
|
|
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
|
24 |
|
|
*******************************************************************************/
|
25 |
|
|
|
26 |
|
|
/* Includes ------------------------------------------------------------------*/
|
27 |
|
|
/* Private typedef -----------------------------------------------------------*/
|
28 |
|
|
/* Private define ------------------------------------------------------------*/
|
29 |
|
|
/* Private macro -------------------------------------------------------------*/
|
30 |
|
|
/* Private variables ---------------------------------------------------------*/
|
31 |
|
|
/* Private function prototypes -----------------------------------------------*/
|
32 |
|
|
/* Private functions ---------------------------------------------------------*/
|
33 |
|
|
|
34 |
|
|
/*******************************************************************************
|
35 |
|
|
* Function Name : Undefined_Handler
|
36 |
|
|
* Description : This function handles Undefined instruction exception.
|
37 |
|
|
* Input : None
|
38 |
|
|
* Output : None
|
39 |
|
|
* Return : None
|
40 |
|
|
*******************************************************************************/
|
41 |
|
|
void Undefined_Handler(void)
|
42 |
|
|
{
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
/*******************************************************************************
|
46 |
|
|
* Function Name : FIQ_Handler
|
47 |
|
|
* Description : This function handles FIQ exception.
|
48 |
|
|
* Input : None
|
49 |
|
|
* Output : None
|
50 |
|
|
* Return : None
|
51 |
|
|
*******************************************************************************/
|
52 |
|
|
void FIQ_Handler(void)
|
53 |
|
|
{
|
54 |
|
|
}
|
55 |
|
|
|
56 |
|
|
/*******************************************************************************
|
57 |
|
|
* Function Name : SWI_Handler
|
58 |
|
|
* Description : This function handles SW exception.
|
59 |
|
|
* Input : None
|
60 |
|
|
* Output : None
|
61 |
|
|
* Return : None
|
62 |
|
|
*******************************************************************************/
|
63 |
|
|
void SWI_Handler(void)
|
64 |
|
|
{
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
/*******************************************************************************
|
68 |
|
|
* Function Name : Prefetch_Handler
|
69 |
|
|
* Description : This function handles preftetch abort exception.
|
70 |
|
|
* Input : None
|
71 |
|
|
* Output : None
|
72 |
|
|
* Return : None
|
73 |
|
|
*******************************************************************************/
|
74 |
|
|
void Prefetch_Handler(void)
|
75 |
|
|
{
|
76 |
|
|
}
|
77 |
|
|
|
78 |
|
|
/*******************************************************************************
|
79 |
|
|
* Function Name : Abort_Handler
|
80 |
|
|
* Description : This function handles data abort exception.
|
81 |
|
|
* Input : None
|
82 |
|
|
* Output : None
|
83 |
|
|
* Return : None
|
84 |
|
|
*******************************************************************************/
|
85 |
|
|
void Abort_Handler(void)
|
86 |
|
|
{
|
87 |
|
|
}
|
88 |
|
|
|
89 |
|
|
/*******************************************************************************
|
90 |
|
|
* Function Name : WAKUP_IRQHandler
|
91 |
|
|
* Description : This function handles External line 15(WAKUP) interrupt
|
92 |
|
|
* request.
|
93 |
|
|
* Input : None
|
94 |
|
|
* Output : None
|
95 |
|
|
* Return : None
|
96 |
|
|
*******************************************************************************/
|
97 |
|
|
void WAKUP_IRQHandler(void)
|
98 |
|
|
{
|
99 |
|
|
}
|
100 |
|
|
|
101 |
|
|
/*******************************************************************************
|
102 |
|
|
* Function Name : TIM2_OC2_IRQHandler
|
103 |
|
|
* Description : This function handles TIM2 Output Compare 2 interrupt request.
|
104 |
|
|
* Input : None
|
105 |
|
|
* Output : None
|
106 |
|
|
* Return : None
|
107 |
|
|
*******************************************************************************/
|
108 |
|
|
void TIM2_OC2_IRQHandler(void)
|
109 |
|
|
{
|
110 |
|
|
}
|
111 |
|
|
|
112 |
|
|
/*******************************************************************************
|
113 |
|
|
* Function Name : TIM2_OC1_IRQHandler
|
114 |
|
|
* Description : This function handles TIM2 Output Compare 1 interrupt request.
|
115 |
|
|
* Input : None
|
116 |
|
|
* Output : None
|
117 |
|
|
* Return : None
|
118 |
|
|
*******************************************************************************/
|
119 |
|
|
void TIM2_OC1_IRQHandler(void)
|
120 |
|
|
{
|
121 |
|
|
}
|
122 |
|
|
|
123 |
|
|
/*******************************************************************************
|
124 |
|
|
* Function Name : TIM2_IC12_IRQHandler
|
125 |
|
|
* Description : This function handles TIM2 Input Capture 1 & 2 interrupt
|
126 |
|
|
* request.
|
127 |
|
|
* Input : None
|
128 |
|
|
* Output : None
|
129 |
|
|
* Return : None
|
130 |
|
|
*******************************************************************************/
|
131 |
|
|
void TIM2_IC12_IRQHandler(void)
|
132 |
|
|
{
|
133 |
|
|
}
|
134 |
|
|
|
135 |
|
|
/*******************************************************************************
|
136 |
|
|
* Function Name : TIM2_UP_IRQHandler
|
137 |
|
|
* Description : This function handles TIM2 Update interrupt request.
|
138 |
|
|
* Input : None
|
139 |
|
|
* Output : None
|
140 |
|
|
* Return : None
|
141 |
|
|
*******************************************************************************/
|
142 |
|
|
void TIM2_UP_IRQHandler(void)
|
143 |
|
|
{
|
144 |
|
|
}
|
145 |
|
|
|
146 |
|
|
/*******************************************************************************
|
147 |
|
|
* Function Name : TIM1_OC2_IRQHandler
|
148 |
|
|
* Description : This function handles TIM1 Output Compare 2 interrupt request.
|
149 |
|
|
* Input : None
|
150 |
|
|
* Output : None
|
151 |
|
|
* Return : None
|
152 |
|
|
*******************************************************************************/
|
153 |
|
|
void TIM1_OC2_IRQHandler(void)
|
154 |
|
|
{
|
155 |
|
|
}
|
156 |
|
|
|
157 |
|
|
/*******************************************************************************
|
158 |
|
|
* Function Name : TIM1_OC1_IRQHandler
|
159 |
|
|
* Description : This function handles TIM1 Output Compare 1 interrupt request.
|
160 |
|
|
* Input : None
|
161 |
|
|
* Output : None
|
162 |
|
|
* Return : None
|
163 |
|
|
*******************************************************************************/
|
164 |
|
|
void TIM1_OC1_IRQHandler(void)
|
165 |
|
|
{
|
166 |
|
|
}
|
167 |
|
|
|
168 |
|
|
/*******************************************************************************
|
169 |
|
|
* Function Name : TIM1_IC12_IRQHandler
|
170 |
|
|
* Description : This function handles TIM1 Input Capture 1 & 2 interrupt
|
171 |
|
|
* request.
|
172 |
|
|
* Input : None
|
173 |
|
|
* Output : None
|
174 |
|
|
* Return : None
|
175 |
|
|
*******************************************************************************/
|
176 |
|
|
void TIM1_IC12_IRQHandler(void)
|
177 |
|
|
{
|
178 |
|
|
}
|
179 |
|
|
|
180 |
|
|
/*******************************************************************************
|
181 |
|
|
* Function Name : TIM1_UP_IRQHandler
|
182 |
|
|
* Description : This function handles TIM1 Update interrupt request.
|
183 |
|
|
* Input : None
|
184 |
|
|
* Output : None
|
185 |
|
|
* Return : None
|
186 |
|
|
*******************************************************************************/
|
187 |
|
|
void TIM1_UP_IRQHandler(void)
|
188 |
|
|
{
|
189 |
|
|
}
|
190 |
|
|
|
191 |
|
|
/*******************************************************************************
|
192 |
|
|
* Function Name : TIM0_OC2_IRQHandler
|
193 |
|
|
* Description : This function handles TIM0 Output Compare 2 interrupt request.
|
194 |
|
|
* Input : None
|
195 |
|
|
* Output : None
|
196 |
|
|
* Return : None
|
197 |
|
|
*******************************************************************************/
|
198 |
|
|
void TIM0_OC2_IRQHandler(void)
|
199 |
|
|
{
|
200 |
|
|
}
|
201 |
|
|
|
202 |
|
|
/*******************************************************************************
|
203 |
|
|
* Function Name : TIM0_OC1_IRQHandler
|
204 |
|
|
* Description : This function handles TIM0 Output Compare 1 interrupt request.
|
205 |
|
|
* Input : None
|
206 |
|
|
* Output : None
|
207 |
|
|
* Return : None
|
208 |
|
|
*******************************************************************************/
|
209 |
|
|
void TIM0_OC1_IRQHandler(void)
|
210 |
|
|
{
|
211 |
|
|
}
|
212 |
|
|
|
213 |
|
|
/*******************************************************************************
|
214 |
|
|
* Function Name : TIM0_IC12_IRQHandler
|
215 |
|
|
* Description : This function handles TIM0 Input Capture 1 & 2 interrupt
|
216 |
|
|
* request.
|
217 |
|
|
* Input : None
|
218 |
|
|
* Output : None
|
219 |
|
|
* Return : None
|
220 |
|
|
*******************************************************************************/
|
221 |
|
|
void TIM0_IC12_IRQHandler(void)
|
222 |
|
|
{
|
223 |
|
|
}
|
224 |
|
|
|
225 |
|
|
/*******************************************************************************
|
226 |
|
|
* Function Name : TIM0_UP_IRQHandler
|
227 |
|
|
* Description : This function handles TIM0 Update interrupt request.
|
228 |
|
|
* Input : None
|
229 |
|
|
* Output : None
|
230 |
|
|
* Return : None
|
231 |
|
|
*******************************************************************************/
|
232 |
|
|
void TIM0_UP_IRQHandler(void)
|
233 |
|
|
{
|
234 |
|
|
}
|
235 |
|
|
|
236 |
|
|
/*******************************************************************************
|
237 |
|
|
* Function Name : PWM_OC123_IRQHandler
|
238 |
|
|
* Description : This function handles PWM Output Compare 1,2&3 interrupt
|
239 |
|
|
* request.
|
240 |
|
|
* Input : None
|
241 |
|
|
* Output : None
|
242 |
|
|
* Return : None
|
243 |
|
|
*******************************************************************************/
|
244 |
|
|
void PWM_OC123_IRQHandler(void)
|
245 |
|
|
{
|
246 |
|
|
}
|
247 |
|
|
|
248 |
|
|
/*******************************************************************************
|
249 |
|
|
* Function Name : PWM_EM_IRQHandler
|
250 |
|
|
* Description : This function handles PWM Emergency interrupt request.
|
251 |
|
|
* Input : None
|
252 |
|
|
* Output : None
|
253 |
|
|
* Return : None
|
254 |
|
|
*******************************************************************************/
|
255 |
|
|
void PWM_EM_IRQHandler(void)
|
256 |
|
|
{
|
257 |
|
|
}
|
258 |
|
|
|
259 |
|
|
/*******************************************************************************
|
260 |
|
|
* Function Name : PWM_UP_IRQHandler
|
261 |
|
|
* Description : This function handles PWM Update interrupt request.
|
262 |
|
|
* Input : None
|
263 |
|
|
* Output : None
|
264 |
|
|
* Return : None
|
265 |
|
|
*******************************************************************************/
|
266 |
|
|
void PWM_UP_IRQHandler(void)
|
267 |
|
|
{
|
268 |
|
|
}
|
269 |
|
|
|
270 |
|
|
/*******************************************************************************
|
271 |
|
|
* Function Name : I2C_IRQHandler
|
272 |
|
|
* Description : This function handles I2C global interrupt request.
|
273 |
|
|
* Input : None
|
274 |
|
|
* Output : None
|
275 |
|
|
* Return : None
|
276 |
|
|
*******************************************************************************/
|
277 |
|
|
void I2C_IRQHandler(void)
|
278 |
|
|
{
|
279 |
|
|
}
|
280 |
|
|
|
281 |
|
|
/*******************************************************************************
|
282 |
|
|
* Function Name : SSP1_IRQHandler
|
283 |
|
|
* Description : This function handles SSP1 interrupt request.
|
284 |
|
|
* Input : None
|
285 |
|
|
* Output : None
|
286 |
|
|
* Return : None
|
287 |
|
|
*******************************************************************************/
|
288 |
|
|
void SSP1_IRQHandler(void)
|
289 |
|
|
{
|
290 |
|
|
}
|
291 |
|
|
|
292 |
|
|
/*******************************************************************************
|
293 |
|
|
* Function Name : SSP0_IRQHandler
|
294 |
|
|
* Description : This function handles SSP0 interrupt request.
|
295 |
|
|
* Input : None
|
296 |
|
|
* Output : None
|
297 |
|
|
* Return : None
|
298 |
|
|
*******************************************************************************/
|
299 |
|
|
void SSP0_IRQHandler(void)
|
300 |
|
|
{
|
301 |
|
|
}
|
302 |
|
|
|
303 |
|
|
/*******************************************************************************
|
304 |
|
|
* Function Name : UART2_IRQHandler
|
305 |
|
|
* Description : This function handles UART2 global interrupt request.
|
306 |
|
|
* Input : None
|
307 |
|
|
* Output : None
|
308 |
|
|
* Return : None
|
309 |
|
|
*******************************************************************************/
|
310 |
|
|
void UART2_IRQHandler(void)
|
311 |
|
|
{
|
312 |
|
|
}
|
313 |
|
|
|
314 |
|
|
/*******************************************************************************
|
315 |
|
|
* Function Name : UART1_IRQHandler
|
316 |
|
|
* Description : This function handles UART1 global interrupt request.
|
317 |
|
|
* Input : None
|
318 |
|
|
* Output : None
|
319 |
|
|
* Return : None
|
320 |
|
|
*******************************************************************************/
|
321 |
|
|
void UART1_IRQHandler(void)
|
322 |
|
|
{
|
323 |
|
|
}
|
324 |
|
|
|
325 |
|
|
/*******************************************************************************
|
326 |
|
|
* Function Name : UART0_IRQHandler
|
327 |
|
|
* Description : This function handles UART0 global interrupt request.
|
328 |
|
|
* Input : None
|
329 |
|
|
* Output : None
|
330 |
|
|
* Return : None
|
331 |
|
|
*******************************************************************************/
|
332 |
|
|
void UART0_IRQHandler(void)
|
333 |
|
|
{
|
334 |
|
|
}
|
335 |
|
|
|
336 |
|
|
/*******************************************************************************
|
337 |
|
|
* Function Name : CAN_IRQHandler
|
338 |
|
|
* Description : This function handles CAN global interrupt request.
|
339 |
|
|
* Input : None
|
340 |
|
|
* Output : None
|
341 |
|
|
* Return : None
|
342 |
|
|
*******************************************************************************/
|
343 |
|
|
void CAN_IRQHandler(void)
|
344 |
|
|
{
|
345 |
|
|
}
|
346 |
|
|
|
347 |
|
|
/*******************************************************************************
|
348 |
|
|
* Function Name : USBLP_IRQHandler
|
349 |
|
|
* Description : This function handles USB Low Priority event interrupt
|
350 |
|
|
* request.
|
351 |
|
|
* Input : None
|
352 |
|
|
* Output : None
|
353 |
|
|
* Return : None
|
354 |
|
|
*******************************************************************************/
|
355 |
|
|
void USB_LP_IRQHandler(void)
|
356 |
|
|
{
|
357 |
|
|
}
|
358 |
|
|
|
359 |
|
|
/*******************************************************************************
|
360 |
|
|
* Function Name : USBHP_IRQHandler
|
361 |
|
|
* Description : This function handles USB High Priority event interrupt
|
362 |
|
|
* request.
|
363 |
|
|
* Input : None
|
364 |
|
|
* Output : None
|
365 |
|
|
* Return : None
|
366 |
|
|
*******************************************************************************/
|
367 |
|
|
void USB_HP_IRQHandler(void)
|
368 |
|
|
{
|
369 |
|
|
}
|
370 |
|
|
|
371 |
|
|
/*******************************************************************************
|
372 |
|
|
* Function Name : ADC_IRQHandler
|
373 |
|
|
* Description : This function handles ADC global interrupt request.
|
374 |
|
|
* Input : None
|
375 |
|
|
* Output : None
|
376 |
|
|
* Return : None
|
377 |
|
|
*******************************************************************************/
|
378 |
|
|
void ADC_IRQHandler(void)
|
379 |
|
|
{
|
380 |
|
|
}
|
381 |
|
|
|
382 |
|
|
/*******************************************************************************
|
383 |
|
|
* Function Name : DMA_IRQHandler
|
384 |
|
|
* Description : This function handles DMA global interrupt request.
|
385 |
|
|
* Input : None
|
386 |
|
|
* Output : None
|
387 |
|
|
* Return : None
|
388 |
|
|
*******************************************************************************/
|
389 |
|
|
void DMA_IRQHandler(void)
|
390 |
|
|
{
|
391 |
|
|
}
|
392 |
|
|
|
393 |
|
|
/*******************************************************************************
|
394 |
|
|
* Function Name : EXTIT_IRQHandler
|
395 |
|
|
* Description : This function handles External lines 14 to 1 interrupt request.
|
396 |
|
|
* Input : None
|
397 |
|
|
* Output : None
|
398 |
|
|
* Return : None
|
399 |
|
|
*******************************************************************************/
|
400 |
|
|
void EXTIT_IRQHandler(void)
|
401 |
|
|
{
|
402 |
|
|
}
|
403 |
|
|
|
404 |
|
|
/*******************************************************************************
|
405 |
|
|
* Function Name : MRCC_IRQHandler
|
406 |
|
|
* Description : This function handles MRCC interrupt request.
|
407 |
|
|
* Input : None
|
408 |
|
|
* Output : None
|
409 |
|
|
* Return : None
|
410 |
|
|
*******************************************************************************/
|
411 |
|
|
void MRCC_IRQHandler(void)
|
412 |
|
|
{
|
413 |
|
|
}
|
414 |
|
|
|
415 |
|
|
/*******************************************************************************
|
416 |
|
|
* Function Name : FLASHSMI_IRQHandler
|
417 |
|
|
* Description : This function handles Flash and SMI global interrupt request.
|
418 |
|
|
* Input : None
|
419 |
|
|
* Output : None
|
420 |
|
|
* Return : None
|
421 |
|
|
*******************************************************************************/
|
422 |
|
|
void FLASHSMI_IRQHandler(void)
|
423 |
|
|
{
|
424 |
|
|
}
|
425 |
|
|
|
426 |
|
|
/*******************************************************************************
|
427 |
|
|
* Function Name : RTC_IRQHandler
|
428 |
|
|
* Description : This function handles RTC global interrupt request.
|
429 |
|
|
* Input : None
|
430 |
|
|
* Output : None
|
431 |
|
|
* Return : None
|
432 |
|
|
*******************************************************************************/
|
433 |
|
|
void RTC_IRQHandler(void)
|
434 |
|
|
{
|
435 |
|
|
}
|
436 |
|
|
|
437 |
|
|
/*******************************************************************************
|
438 |
|
|
* Function Name : TB_IRQHandler
|
439 |
|
|
* Description : This function handles TB global interrupt request.
|
440 |
|
|
* Input : None
|
441 |
|
|
* Output : None
|
442 |
|
|
* Return : None
|
443 |
|
|
*******************************************************************************/
|
444 |
|
|
void TB_IRQHandler(void)
|
445 |
|
|
{
|
446 |
|
|
}
|
447 |
|
|
|
448 |
|
|
/******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE****/
|