73x_vect.s

来自「最新版IAR FOR ARM(EWARM)5.11中的代码例子」· S 代码 · 共 1,404 行 · 第 1/4 页

S
1,404
字号
;*******************************************************************************
;* Function Name  : WDGWUTIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the WDGWUTIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   WDGWUTIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
WDGWUTIRQHandler
        IRQ_to_SYS
        ldr r0, =WDGWUT_IRQHandler
        ldr lr,=WDGWUT_IRQHandler_end
        bx     r0
WDGWUT_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : BSPI0IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the BSPI0IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   BSPI0IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
BSPI0IRQHandler
        IRQ_to_SYS
        ldr r0, =BSPI0_IRQHandler
        ldr lr,=BSPI0_IRQHandler_end
        bx     r0
BSPI0_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : BSPI1IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the BSPI1IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   BSPI1IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
BSPI1IRQHandler
        IRQ_to_SYS
        ldr r0, =BSPI1_IRQHandler
        ldr lr,=BSPI1_IRQHandler_end
        bx     r0
BSPI1_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : BSPI2IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the BSPI2IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   BSPI2IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
BSPI2IRQHandler
        IRQ_to_SYS
        ldr r0, =BSPI2_IRQHandler
        ldr lr,=BSPI2_IRQHandler_end
        bx     r0
BSPI2_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : UART0IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the UART0IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   UART0IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
UART0IRQHandler
        IRQ_to_SYS
        ldr r0, =UART0_IRQHandler
        ldr lr,=UART0_IRQHandler_end
        bx     r0
UART0_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : UART1IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the UART1IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   UART1IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
UART1IRQHandler
        IRQ_to_SYS
        ldr r0, =UART1_IRQHandler
        ldr lr,=UART1_IRQHandler_end
        bx     r0
UART1_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : I2C0ITERRIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the I2C0ITERRIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   I2C0ITERRIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
I2C0ITERRIRQHandler
        IRQ_to_SYS
        ldr r0, =I2C0ITERR_IRQHandler
        ldr lr,=I2C0ITERR_IRQHandler_end
        bx     r0
I2C0ITERR_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : I2C1ITERRIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the I2C1ITERRIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   I2C1ITERRIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
I2C1ITERRIRQHandler
        IRQ_to_SYS
        ldr r0, =I2C1ITERR_IRQHandler
        ldr lr,=I2C1ITERR_IRQHandler_end
        bx     r0
I2C1ITERR_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : I2C0ITDDCIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the I2C0ITDDCIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   I2C0ITDDCIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
I2C0ITDDCIRQHandler
        IRQ_to_SYS
        ldr r0, =I2C0ITDDC_IRQHandler
        ldr lr,=I2C0ITDDC_IRQHandler_end
        bx     r0
I2C0ITDDC_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : I2C1ITDDCIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the I2C1ITDDCIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   I2C1ITDDCIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
I2C1ITDDCIRQHandler
        IRQ_to_SYS
        ldr r0, =I2C1ITDDC_IRQHandler
        ldr lr,=I2C1ITDDC_IRQHandler_end
        bx     r0
I2C1ITDDC_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : CAN0IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the CAN0IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   CAN0IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
CAN0IRQHandler
        IRQ_to_SYS
        ldr r0, =CAN0_IRQHandler
        ldr lr,=CAN0_IRQHandler_end
        bx     r0
CAN0_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : CAN1IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the CAN1IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   CAN1IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
CAN1IRQHandler
        IRQ_to_SYS
        ldr r0, =CAN1_IRQHandler
        ldr lr,=CAN1_IRQHandler_end
        bx     r0
CAN1_IRQHandler_end:

       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : CAN2IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the CAN2IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   CAN2IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
CAN2IRQHandler
        IRQ_to_SYS
        ldr r0, =CAN2_IRQHandler
        ldr lr,=CAN2_IRQHandler_end
        bx     r0
CAN2_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : DMA0IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the DMA0IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   DMA0IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
DMA0IRQHandler
        IRQ_to_SYS
        ldr r0, =DMA0_IRQHandler
        ldr lr,=DMA0_IRQHandler_end
        bx     r0
DMA0_IRQHandler_end:
       SYS_to_IRQ

;*******************************************************************************
;* Function Name  : DMA1IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the DMA1IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   DMA1IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
DMA1IRQHandler
        IRQ_to_SYS
        ldr r0, =DMA1_IRQHandler
        ldr lr,=DMA1_IRQHandler_end
        bx     r0
DMA1_IRQHandler_end:
       SYS_to_IRQ


;*******************************************************************************
;* Function Name  : DMA2IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the DMA2IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   DMA2IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
DMA2IRQHandler
        IRQ_to_SYS
        ldr r0, =DMA2_IRQHandler
        ldr lr,=DMA2_IRQHandler_end
        bx     r0
DMA2_IRQHandler_end:
       SYS_to_IRQ


;*******************************************************************************
;* Function Name  : DMA3IRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the DMA3IRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   DMA3IRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
DMA3IRQHandler
        IRQ_to_SYS
        ldr r0, =DMA3_IRQHandler
        ldr lr,=DMA3_IRQHandler_end
        bx     r0
DMA3_IRQHandler_end:
       SYS_to_IRQ


;*******************************************************************************
;* Function Name  : ADCIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the ADCIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   ADCIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
ADCIRQHandler
        IRQ_to_SYS
        ldr r0, =ADC_IRQHandler
        ldr lr,=ADC_IRQHandler_end
        bx     r0
ADC_IRQHandler_end:
        SYS_to_IRQ

;*******************************************************************************
;* Function Name  : RTCIRQHandler
;* Description    : This function used to switch to SYS mode before entering
;                   the RTCIRQHandler function located in 73x_it.c.
;                   Then to return to IRQ mode after the
;                   RTCIRQHandler function termination.
;* Input          : none
;* Output         : none
;*******************************************************************************
RTCIRQHandler
        IRQ_to_SYS
        ldr r0, =RTC_IRQHandler
        ldr lr,=RTC_IRQHandler_end
        bx     r0
RTC_IRQHandler_end:
       SYS_to_IRQ



       LTORG

        END
;******************* (C) COPYRIGHT 2005 STMicroelectronics *****END OF FILE****

















⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?