1 ;******************** (C) COPYRIGHT 2006 STMicroelectronics ********************
2 ;* File Name : 75x_vect.c
3 ;* Author : MCD Application Team
4 ;* Date First Issued : 03/10/2006
5 ;* Description : This file used to initialize the exception and IRQ
6 ;* vectors, and to enter/return to/from exceptions handlers.
7 ;*******************************************************************************
11 ;*******************************************************************************
12 ;* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
13 ;* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
14 ;* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
15 ;* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
16 ;* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
17 ;* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
18 ;*******************************************************************************
20 #include "FreeRTOSConfig.h"
21 #include "ISR_Support.h"
25 SECTION .intvec:CODE(2)
28 EIC_base_addr EQU 0xFFFFF800 ; EIC base address
29 CICR_off_addr EQU 0x04 ; Current Interrupt Channel Register
30 IVR_off_addr EQU 0x18 ; Interrupt Vector Register
31 IPR_off_addr EQU 0x40 ; Interrupt Pending Register
34 ;*******************************************************************************
35 ; Import the __program_start address from 75x_init.s
36 ;*******************************************************************************
38 IMPORT __iar_program_start
42 ;*******************************************************************************
43 ; Import exception handlers
44 ;*******************************************************************************
46 IMPORT Undefined_Handler
48 IMPORT Prefetch_Handler
52 ;*******************************************************************************
53 ; Import IRQ handlers from 75x_it.c
54 ;*******************************************************************************
56 IMPORT WAKUP_IRQHandler
57 IMPORT TIM2_OC2_IRQHandler
58 IMPORT TIM2_OC1_IRQHandler
59 IMPORT TIM2_IC12_IRQHandler
60 IMPORT TIM2_UP_IRQHandler
61 IMPORT TIM1_OC2_IRQHandler
62 IMPORT TIM1_OC1_IRQHandler
63 IMPORT TIM1_IC12_IRQHandler
64 IMPORT TIM1_UP_IRQHandler
65 IMPORT TIM0_OC2_IRQHandler
66 IMPORT TIM0_OC1_IRQHandler
67 IMPORT TIM0_IC12_IRQHandler
68 IMPORT TIM0_UP_IRQHandler
69 IMPORT PWM_OC123_IRQHandler
70 IMPORT PWM_EM_IRQHandler
71 IMPORT PWM_UP_IRQHandler
73 IMPORT SSP1_IRQHandler
74 IMPORT SSP0_IRQHandler
75 IMPORT UART2_IRQHandler
76 IMPORT UART1_IRQHandler
79 IMPORT USB_LP_IRQHandler
80 IMPORT USB_HP_IRQHandler
83 IMPORT EXTIT_IRQHandler
84 IMPORT MRCC_IRQHandler
85 IMPORT FLASHSMI_IRQHandler
88 IMPORT vPortPreemptiveTick
89 IMPORT vPortYieldProcessor
90 IMPORT UART0_IRQHandler
92 ;*******************************************************************************
93 ; Export Peripherals IRQ handlers table address
94 ;*******************************************************************************
98 ;*******************************************************************************
100 ;*******************************************************************************
104 LDR PC, Undefined_Addr
106 LDR PC, Prefetch_Addr
108 NOP ; Reserved vector
112 ;*******************************************************************************
113 ; Exception handlers address table
114 ;*******************************************************************************
116 Reset_Addr DCD __iar_program_start
117 Undefined_Addr DCD UndefinedHandler
118 SWI_Addr DCD vPortYieldProcessor
119 Prefetch_Addr DCD PrefetchAbortHandler
120 Abort_Addr DCD DataAbortHandler
121 DCD 0 ; Reserved vector
122 IRQ_Addr DCD IRQHandler
123 FIQ_Addr DCD FIQHandler
125 ;*******************************************************************************
126 ; Peripherals IRQ handlers address table
127 ;*******************************************************************************
129 WAKUP_Addr DCD WAKUPIRQHandler
130 TIM2_OC2_Addr DCD TIM2_OC2IRQHandler
131 TIM2_OC1_Addr DCD TIM2_OC1IRQHandler
132 TIM2_IC12_Addr DCD TIM2_IC12IRQHandler
133 TIM2_UP_Addr DCD TIM2_UPIRQHandler
134 TIM1_OC2_Addr DCD TIM1_OC2IRQHandler
135 TIM1_OC1_Addr DCD TIM1_OC1IRQHandler
136 TIM1_IC12_Addr DCD TIM1_IC12IRQHandler
137 TIM1_UP_Addr DCD TIM1_UPIRQHandler
138 TIM0_OC2_Addr DCD TIM0_OC2IRQHandler
139 TIM0_OC1_Addr DCD TIM0_OC1IRQHandler
140 TIM0_IC12_Addr DCD TIM0_IC12IRQHandler
141 TIM0_UP_Addr DCD TIM0_UPIRQHandler
142 PWM_OC123_Addr DCD PWM_OC123IRQHandler
143 PWM_EM_Addr DCD PWM_EMIRQHandler
144 PWM_UP_Addr DCD PWM_UPIRQHandler
145 I2C_Addr DCD I2CIRQHandler
146 SSP1_Addr DCD SSP1IRQHandler
147 SSP0_Addr DCD SSP0IRQHandler
148 UART2_Addr DCD UART2IRQHandler
149 UART1_Addr DCD UART1IRQHandler
150 UART0_Addr DCD vSerialISR
151 CAN_Addr DCD CANIRQHandler
152 USB_LP_Addr DCD USB_LPIRQHandler
153 USB_HP_Addr DCD USB_HPIRQHandler
154 ADC_Addr DCD ADCIRQHandler
155 DMA_Addr DCD DMAIRQHandler
156 EXTIT_Addr DCD EXTITIRQHandler
157 MRCC_Addr DCD MRCCIRQHandler
158 FLASHSMI_Addr DCD FLASHSMIIRQHandler
159 RTC_Addr DCD RTCIRQHandler
160 TB_Addr DCD vPortPreemptiveTick
162 ;*******************************************************************************
164 ;*******************************************************************************
166 ;*******************************************************************************
167 ;* Macro Name : SaveContext
168 ;* Description : This macro used to save the context before entering
169 ;* an exception handler.
170 ;* Input : The range of registers to store.
172 ;*******************************************************************************
173 SaveContext MACRO reg1,reg2
174 STMFD sp!,{reg1-reg2,lr} ; Save The workspace plus the current return
175 ; address lr_ mode into the stack.
176 MRS r1,spsr ; Save the spsr_mode into r1.
177 STMFD sp!,{r1} ; Save spsr.
180 ;*******************************************************************************
181 ;* Macro Name : RestoreContext
182 ;* Description : This macro used to restore the context to return from
183 ;* an exception handler and continue the program execution.
184 ;* Input : The range of registers to restore.
186 ;*******************************************************************************
187 RestoreContext MACRO reg1,reg2
188 LDMFD sp!,{r1} ; Restore the saved spsr_mode into r1.
189 MSR spsr_cxsf,r1 ; Restore spsr_mode.
190 LDMFD sp!,{reg1-reg2,pc}^; Return to the instruction following...
191 ; ...the exception interrupt.
194 ;*******************************************************************************
195 ;* Function Name : UndefinedHandler
196 ;* Description : This function called when undefined instruction exception
200 ;*******************************************************************************
202 SaveContext r0,r12 ; Save the workspace plus the current
203 ; return address lr_ und and spsr_und.
204 ldr r0,=Undefined_Handler
205 ldr lr,=Undefined_Handler_end
206 bx r0 ;Branch to Undefined_Handler
207 Undefined_Handler_end:
208 RestoreContext r0,r12 ; Return to the instruction following...
209 ; ...the undefined instruction.
211 ;*******************************************************************************
212 ;* Function Name : SWIHandler
213 ;* Description : This function called when SWI instruction executed.
216 ;*******************************************************************************
218 SaveContext r0,r12 ; Save the workspace plus the current
219 ; return address lr_ svc and spsr_svc.
221 ldr lr,= SWI_Handler_end
222 bx r0 ;Branch to SWI_Handler
224 RestoreContext r0,r12 ; Return to the instruction following...
225 ; ...the SWI instruction.
227 ;*******************************************************************************
228 ;* Function Name : IRQHandler
229 ;* Description : This function called when IRQ exception is entered.
232 ;*******************************************************************************
234 portSAVE_CONTEXT ; Save the context of the current task.
236 LDR r0, =EIC_base_addr
237 LDR r1, =IVR_off_addr
238 LDR lr, =ReturnAddress ; Load the return address.
239 ADD pc,r0,r1 ; Branch to the IRQ handler.
241 LDR r0, =EIC_base_addr
242 LDR r2, [r0, #CICR_off_addr] ; Get the IRQ channel number
245 STR r3,[r0, #IPR_off_addr] ; Clear the corresponding IPR bit.
247 portRESTORE_CONTEXT ; Restore the context of the selected task.
250 ;*******************************************************************************
251 ;* Function Name : PrefetchAbortHandler
252 ;* Description : This function called when Prefetch Abort exception is entered.
255 ;*******************************************************************************
257 SUB lr,lr,#4 ; Update the link register.
258 SaveContext r0,r7 ; Save the workspace plus the current
259 ; return address lr_abt and spsr_abt.
260 ldr r0,= Prefetch_Handler
261 ldr lr,= Prefetch_Handler_end
262 bx r0 ;Branch to Prefetch_Handler
263 Prefetch_Handler_end:
264 RestoreContext r0,r7 ; Return to the instruction following that...
265 ; ...has generated the prefetch abort exception.
267 ;*******************************************************************************
268 ;* Function Name : DataAbortHandler
269 ;* Description : This function is called when Data Abort exception is entered.
272 ;*******************************************************************************
274 SUB lr,lr,#8 ; Update the link register.
275 SaveContext r0,r12 ; Save the workspace plus the current
276 ; return address lr_ abt and spsr_abt.
277 ldr r0,= Abort_Handler
278 ldr lr,= Abort_Handler_end
279 bx r0 ;Branch to Abort_Handler
281 RestoreContext r0,r12 ; Return to the instruction following that...
282 ; ...has generated the data abort exception.
284 ;*******************************************************************************
285 ;* Function Name : FIQHandler
286 ;* Description : This function is called when FIQ exception is entered.
289 ;*******************************************************************************
291 SUB lr,lr,#4 ; Update the link register.
292 SaveContext r0,r7 ; Save the workspace plus the current
293 ; return address lr_ fiq and spsr_fiq.
295 ldr lr,= FIQ_Handler_end
296 bx r0 ;Branch to FIQ_Handler
298 RestoreContext r0,r7 ; Restore the context and return to the...
299 ; ...program execution.
301 ;*******************************************************************************
302 ;* Macro Name : IRQ_to_SYS
303 ;* Description : This macro used to switch form IRQ mode to SYS mode.
306 ;*******************************************************************************
312 ;*******************************************************************************
313 ;* Macro Name : SYS_to_IRQ
314 ;* Description : This macro used to switch from SYS mode to IRQ mode.
317 ;*******************************************************************************
324 ;*******************************************************************************
325 ;* Function Name : WAKUPIRQHandler
326 ;* Description : This function used to switch to SYS mode before entering
327 ;* the WAKUP_IRQHandler function located in 75x_it.c.
328 ;* Then to return to IRQ mode after the WAKUP_IRQHandler
329 ;* function termination.
332 ;*******************************************************************************
335 ldr r0,=WAKUP_IRQHandler
336 ldr lr,=WAKUP_IRQHandler_end
338 WAKUP_IRQHandler_end:
341 ;*******************************************************************************
342 ;* Function Name : TIM2_OC2IRQHandler
343 ;* Description : This function used to switch to SYS mode before entering
344 ;* the TIM2_OC2_IRQHandler function located in 75x_it.c.
345 ;* Then to return to IRQ mode after the TIM2_OC2_IRQHandler
346 ;* function termination.
349 ;*******************************************************************************
352 ldr r0,=TIM2_OC2_IRQHandler
353 ldr lr,=TIM2_OC2_IRQHandler_end
355 TIM2_OC2_IRQHandler_end:
358 ;*******************************************************************************
359 ;* Function Name : TIM2_OC1IRQHandler
360 ;* Description : This function used to switch to SYS mode before entering
361 ;* the TIM2_OC1_IRQHandler function located in 75x_it.c.
362 ;* Then to return to IRQ mode after the TIM2_OC1_IRQHandler
363 ;* function termination.
366 ;*******************************************************************************
369 ldr r0,=TIM2_OC1_IRQHandler
370 ldr lr,=TIM2_OC1_IRQHandler_end
372 TIM2_OC1_IRQHandler_end:
375 ;*******************************************************************************
376 ;* Function Name : TIM2_IC12IRQHandler
377 ;* Description : This function used to switch to SYS mode before entering
378 ;* the TIM2_IC12_IRQHandler function located in 75x_it.c.
379 ;* Then to return to IRQ mode after the TIM2_IC12_IRQHandler
380 ;* function termination.
383 ;*******************************************************************************
386 ldr r0,=TIM2_IC12_IRQHandler
387 ldr lr,=TIM2_IC12_IRQHandler_end
389 TIM2_IC12_IRQHandler_end:
392 ;*******************************************************************************
393 ;* Function Name : TIM2_UPIRQHandler
394 ;* Description : This function used to switch to SYS mode before entering
395 ;* the TIM2_UP_IRQHandler function located in 75x_it.c.
396 ;* Then to return to IRQ mode after the TIM2_UP_IRQHandler
397 ;* function termination.
400 ;*******************************************************************************
403 ldr r0,=TIM2_UP_IRQHandler
404 ldr lr,=TIM2_UP_IRQHandler_end
406 TIM2_UP_IRQHandler_end:
409 ;*******************************************************************************
410 ;* Function Name : TIM1_OC2IRQHandler
411 ;* Description : This function used to switch to SYS mode before entering
412 ;* the TIM1_OC2_IRQHandler function located in 75x_it.c.
413 ;* Then to return to IRQ mode after the TIM1_OC2_IRQHandler
414 ;* function termination.
417 ;*******************************************************************************
420 ldr r0,=TIM1_OC2_IRQHandler
421 ldr lr,=TIM1_OC2_IRQHandler_end
423 TIM1_OC2_IRQHandler_end:
426 ;*******************************************************************************
427 ;* Function Name : TIM1_OC1IRQHandler
428 ;* Description : This function used to switch to SYS mode before entering
429 ;* the TIM1_OC1_IRQHandler function located in 75x_it.c.
430 ;* Then to return to IRQ mode after the TIM1_OC1_IRQHandler
431 ;* function termination.
434 ;*******************************************************************************
437 ldr r0,=TIM1_OC1_IRQHandler
438 ldr lr,=TIM1_OC1_IRQHandler_end
440 TIM1_OC1_IRQHandler_end:
443 ;*******************************************************************************
444 ;* Function Name : TIM1_IC12IRQHandler
445 ;* Description : This function used to switch to SYS mode before entering
446 ;* the TIM1_IC12_IRQHandler function located in 75x_it.c.
447 ;* Then to return to IRQ mode after the TIM1_IC12_IRQHandler
448 ;* function termination.
451 ;*******************************************************************************
454 ldr r0,=TIM1_IC12_IRQHandler
455 ldr lr,=TIM1_IC12_IRQHandler_end
457 TIM1_IC12_IRQHandler_end:
460 ;*******************************************************************************
461 ;* Function Name : TIM1_UPIRQHandler
462 ;* Description : This function used to switch to SYS mode before entering
463 ;* the TIM1_UP_IRQHandler function located in 75x_it.c.
464 ;* Then to return to IRQ mode after the TIM1_UP_IRQHandler
465 ;* function termination.
468 ;*******************************************************************************
471 ldr r0,=TIM1_UP_IRQHandler
472 ldr lr,=TIM1_UP_IRQHandler_end
474 TIM1_UP_IRQHandler_end:
477 ;*******************************************************************************
478 ;* Function Name : TIM0_OC2IRQHandler
479 ;* Description : This function used to switch to SYS mode before entering
480 ;* the TIM0_OC2_IRQHandler function located in 75x_it.c.
481 ;* Then to return to IRQ mode after the TIM0_OC2_IRQHandler
482 ;* function termination.
485 ;*******************************************************************************
488 ldr r0,=TIM0_OC2_IRQHandler
489 ldr lr,=TIM0_OC2_IRQHandler_end
491 TIM0_OC2_IRQHandler_end:
494 ;*******************************************************************************
495 ;* Function Name : TIM0_OC1IRQHandler
496 ;* Description : This function used to switch to SYS mode before entering
497 ;* the TIM0_OC1_IRQHandler function located in 75x_it.c.
498 ;* Then to return to IRQ mode after the TIM0_OC1_IRQHandler
499 ;* function termination.
502 ;*******************************************************************************
505 ldr r0,=TIM0_OC1_IRQHandler
506 ldr lr,=TIM0_OC1_IRQHandler_end
508 TIM0_OC1_IRQHandler_end:
511 ;*******************************************************************************
512 ;* Function Name : TIM0_IC12IRQHandler
513 ;* Description : This function used to switch to SYS mode before entering
514 ;* the TIM0_IC12_IRQHandler function located in 75x_it.c.
515 ;* Then to return to IRQ mode after the TIM0_IC12_IRQHandler
516 ;* function termination.
519 ;*******************************************************************************
522 ldr r0,=TIM0_IC12_IRQHandler
523 ldr lr,=TIM0_IC12_IRQHandler_end
525 TIM0_IC12_IRQHandler_end:
528 ;*******************************************************************************
529 ;* Function Name : TIM0_UPIRQHandler
530 ;* Description : This function used to switch to SYS mode before entering
531 ;* the TIM0_UP_IRQHandler function located in 75x_it.c.
532 ;* Then to return to IRQ mode after the TIM0_UP_IRQHandler
533 ;* function termination.
536 ;*******************************************************************************
539 ldr r0,=TIM0_UP_IRQHandler
540 ldr lr,=TIM0_UP_IRQHandler_end
542 TIM0_UP_IRQHandler_end:
545 ;*******************************************************************************
546 ;* Function Name : PWM_OC123IRQHandler
547 ;* Description : This function used to switch to SYS mode before entering
548 ;* the PWM_OC123_IRQHandler function located in 75x_it.c.
549 ;* Then to return to IRQ mode after the PWM_OC123_IRQHandler
550 ;* function termination.
553 ;*******************************************************************************
556 ldr r0,=PWM_OC123_IRQHandler
557 ldr lr,=PWM_OC123_IRQHandler_end
559 PWM_OC123_IRQHandler_end:
562 ;*******************************************************************************
563 ;* Function Name : PWM_EMIRQHandler
564 ;* Description : This function used to switch to SYS mode before entering
565 ;* the PWM_EM_IRQHandler function located in 75x_it.c.
566 ;* Then to return to IRQ mode after the PWM_EM_IRQHandler
567 ;* function termination.
570 ;*******************************************************************************
573 ldr r0,=PWM_EM_IRQHandler
574 ldr lr,=PWM_EM_IRQHandler_end
576 PWM_EM_IRQHandler_end:
579 ;*******************************************************************************
580 ;* Function Name : PWM_UPIRQHandler
581 ;* Description : This function used to switch to SYS mode before entering
582 ;* the PWM_UP_IRQHandler function located in 75x_it.c.
583 ;* Then to return to IRQ mode after the PWM_UP_IRQHandler
584 ;* function termination.
587 ;*******************************************************************************
590 ldr r0,=PWM_UP_IRQHandler
591 ldr lr,=PWM_UP_IRQHandler_end
593 PWM_UP_IRQHandler_end:
596 ;*******************************************************************************
597 ;* Function Name : I2CIRQHandler
598 ;* Description : This function used to switch to SYS mode before entering
599 ;* the I2C_IRQHandler function located in 75x_it.c.
600 ;* Then to return to IRQ mode after the I2C_IRQHandler function
604 ;*******************************************************************************
607 ldr r0,=I2C_IRQHandler
608 ldr lr,=I2C_IRQHandler_end
613 ;*******************************************************************************
614 ;* Function Name : SSP1IRQHandler
615 ;* Description : This function used to switch to SYS mode before entering
616 ;* the SSP1_IRQHandler function located in 75x_it.c.
617 ;* Then to return to IRQ mode after the SSP1_IRQHandler
618 ;* function termination.
621 ;*******************************************************************************
624 ldr r0,=SSP1_IRQHandler
625 ldr lr,=SSP1_IRQHandler_end
630 ;*******************************************************************************
631 ;* Function Name : SSP0IRQHandler
632 ;* Description : This function used to switch to SYS mode before entering
633 ;* the SSP0_IRQHandler function located in 75x_it.c.
634 ;* Then to return to IRQ mode after the SSP0_IRQHandler
635 ;* function termination.
638 ;*******************************************************************************
641 ldr r0,=SSP0_IRQHandler
642 ldr lr,=SSP0_IRQHandler_end
647 ;*******************************************************************************
648 ;* Function Name : UART2IRQHandler
649 ;* Description : This function used to switch to SYS mode before entering
650 ;* the UART2_IRQHandler function located in 75x_it.c.
651 ;* Then to return to IRQ mode after the UART2_IRQHandler
652 ;* function termination.
655 ;*******************************************************************************
658 ldr r0,=UART2_IRQHandler
659 ldr lr,=UART2_IRQHandler_end
661 UART2_IRQHandler_end:
664 ;*******************************************************************************
665 ;* Function Name : UART1IRQHandler
666 ;* Description : This function used to switch to SYS mode before entering
667 ;* the UART1_IRQHandler function located in 75x_it.c.
668 ;* Then to return to IRQ mode after the UART1_IRQHandler
669 ;* function termination.
672 ;*******************************************************************************
675 ldr r0,=UART1_IRQHandler
676 ldr lr,=UART1_IRQHandler_end
678 UART1_IRQHandler_end:
681 ;*******************************************************************************
682 ;* Function Name : UART0IRQHandler
683 ;* Description : This function used to switch to SYS mode before entering
684 ;* the UART0_IRQHandler function located in 75x_it.c.
685 ;* Then to return to IRQ mode after the UART0_IRQHandler
686 ;* function termination.
689 ;*******************************************************************************
692 ldr r0,=UART0_IRQHandler
693 ldr lr,=UART0_IRQHandler_end
695 UART0_IRQHandler_end:
698 ;*******************************************************************************
699 ;* Function Name : CANIRQHandler
700 ;* Description : This function used to switch to SYS mode before entering
701 ;* the CAN_IRQHandler function located in 75x_it.c.
702 ;* Then to return to IRQ mode after the CAN_IRQHandler function
706 ;*******************************************************************************
709 ldr r0,=CAN_IRQHandler
710 ldr lr,=CAN_IRQHandler_end
715 ;*******************************************************************************
716 ;* Function Name : USB_LPIRQHandler
717 ;* Description : This function used to switch to SYS mode before entering
718 ;* the USB_LP_IRQHandler function located in 75x_it.c.
719 ;* Then to return to IRQ mode after the USB_LP_IRQHandler
720 ;* function termination.
723 ;*******************************************************************************
726 ldr r0,=USB_LP_IRQHandler
727 ldr lr,=USB_LP_IRQHandler_end
729 USB_LP_IRQHandler_end:
732 ;*******************************************************************************
733 ;* Function Name : USB_HPIRQHandler
734 ;* Description : This function used to switch to SYS mode before entering
735 ;* the USB_HP_IRQHandler function located in 75x_it.c.
736 ;* Then to return to IRQ mode after the USB_HP_IRQHandler
737 ;* function termination.
740 ;*******************************************************************************
743 ldr r0,=USB_HP_IRQHandler
744 ldr lr,=USB_HP_IRQHandler_end
746 USB_HP_IRQHandler_end:
749 ;*******************************************************************************
750 ;* Function Name : ADCIRQHandler
751 ;* Description : This function used to switch to SYS mode before entering
752 ;* the ADC_IRQHandler function located in 75x_it.c.
753 ;* Then to return to IRQ mode after the ADC_IRQHandler
754 ;* function termination.
757 ;*******************************************************************************
760 ldr r0,=ADC_IRQHandler
761 ldr lr,=ADC_IRQHandler_end
766 ;*******************************************************************************
767 ;* Function Name : DMAIRQHandler
768 ;* Description : This function used to switch to SYS mode before entering
769 ;* the DMA_IRQHandler function located in 75x_it.c.
770 ;* Then to return to IRQ mode after the DMA_IRQHandler
771 ;* function termination.
774 ;*******************************************************************************
777 ldr r0,=DMA_IRQHandler
778 ldr lr,=DMA_IRQHandler_end
783 ;*******************************************************************************
784 ;* Function Name : EXTITIRQHandler
785 ;* Description : This function used to switch to SYS mode before entering
786 ;* the EXTIT_IRQHandler function located in 75x_it.c.
787 ;* Then to return to IRQ mode after the EXTIT_IRQHandler
788 ;* function termination.
791 ;*******************************************************************************
794 ldr r0,=EXTIT_IRQHandler
795 ldr lr,=EXTIT_IRQHandler_end
797 EXTIT_IRQHandler_end:
800 ;*******************************************************************************
801 ;* Function Name : MRCCIRQHandler
802 ;* Description : This function used to switch to SYS mode before entering
803 ;* the MRCC_IRQHandler function located in 75x_it.c.
804 ;* Then to return to IRQ mode after the MRCC_IRQHandler
805 ;* function termination.
808 ;*******************************************************************************
811 ldr r0,=MRCC_IRQHandler
812 ldr lr,=MRCC_IRQHandler_end
817 ;*******************************************************************************
818 ;* Function Name : FLASHSMIIRQHandler
819 ;* Description : This function used to switch to SYS mode before entering
820 ;* the FLASHSMI_IRQHandler function located in 75x_it.c.
821 ;* Then to return to IRQ mode after the FLASHSMI_IRQHandler
822 ;* function termination.
825 ;*******************************************************************************
828 ldr r0,=FLASHSMI_IRQHandler
829 ldr lr,=FLASHSMI_IRQHandler_end
831 FLASHSMI_IRQHandler_end:
834 ;*******************************************************************************
835 ;* Function Name : RTCIRQHandler
836 ;* Description : This function used to switch to SYS mode before entering
837 ;* the RTC_IRQHandler function located in 75x_it.c.
838 ;* Then to return to IRQ mode after the RTC_IRQHandler function
842 ;*******************************************************************************
845 ldr r0,=RTC_IRQHandler
846 ldr lr,=RTC_IRQHandler_end
851 ;*******************************************************************************
852 ;* Function Name : TBIRQHandler
853 ;* Description : This function used to switch to SYS mode before entering
854 ;* the TB_IRQHandler function located in 75x_it.c.
855 ;* Then to return to IRQ mode after the TB_IRQHandler function
859 ;*******************************************************************************
862 ldr r0,=TB_IRQHandler
863 ldr lr,=TB_IRQHandler_end
871 ;******************* (C) COPYRIGHT 2006 STMicroelectronics *****END OF FILE*****