73x_vect.s
来自「最新版IAR FOR ARM(EWARM)5.11中的代码例子」· S 代码 · 共 1,404 行 · 第 1/4 页
S
1,404 行
;* Output : none
;*******************************************************************************
TIM2IRQHandler
IRQ_to_SYS
ldr r0, =TIM2_IRQHandler
ldr lr,=TIM2_IRQHandler_end
bx r0
TIM2_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM3IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM3IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM3IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM3IRQHandler
IRQ_to_SYS
ldr r0, =TIM3_IRQHandler
ldr lr,=TIM3_IRQHandler_end
bx r0
TIM3_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM4IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM4IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM4IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM4IRQHandler
IRQ_to_SYS
ldr r0, =TIM4_IRQHandler
ldr lr,=TIM4_IRQHandler_end
bx r0
TIM4_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TB0IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TB0IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TB0IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TB0IRQHandler
IRQ_to_SYS
ldr r0, =TB0_IRQHandler
ldr lr,=TB0_IRQHandler_end
bx r0
TB0_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TB1IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TB1IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TB1IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TB1IRQHandler
IRQ_to_SYS
ldr r0, =TB1_IRQHandler
ldr lr,=TB1_IRQHandler_end
bx r0
TB1_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TB2IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TB2IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TB2IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TB2IRQHandler
IRQ_to_SYS
ldr r0, =TB2_IRQHandler
ldr lr,=TB2_IRQHandler_end
bx r0
TB2_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM5IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM5IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM5IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM5IRQHandler
IRQ_to_SYS
ldr r0, =TIM5_IRQHandler
ldr lr,=TIM5_IRQHandler_end
bx r0
TIM5_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM6IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM6IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM6IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM6IRQHandler
IRQ_to_SYS
ldr r0, =TIM6_IRQHandler
ldr lr,=TIM6_IRQHandler_end
bx r0
TIM6_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM7IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM7IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM7IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM7IRQHandler
IRQ_to_SYS
ldr r0, =TIM7_IRQHandler
ldr lr,=TIM7_IRQHandler_end
bx r0
TIM7_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM8IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM8IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM8IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM8IRQHandler
IRQ_to_SYS
ldr r0, =TIM8_IRQHandler
ldr lr,=TIM8_IRQHandler_end
bx r0
TIM8_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : TIM9IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the TIM9IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; TIM9IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
TIM9IRQHandler
IRQ_to_SYS
ldr r0, =TIM9_IRQHandler
ldr lr,=TIM9_IRQHandler_end
bx r0
TIM9_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : UART2IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the UART2IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; UART2IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
UART2IRQHandler
IRQ_to_SYS
ldr r0, =UART2_IRQHandler
ldr lr,=UART2_IRQHandler_end
bx r0
UART2_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : UART3IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the UART3IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; UART3IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
UART3IRQHandler
IRQ_to_SYS
ldr r0, =UART3_IRQHandler
ldr lr,=UART3_IRQHandler_end
bx r0
UART3_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : FLASHEOPIRQHandler
;* Description : This function used to switch to SYS mode before entering
; the FLASHEOPIRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; FLASHEOPIRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
FLASHEOPIRQHandler
IRQ_to_SYS
ldr r0, =FLASHEOP_IRQHandler
ldr lr,=FLASHEOP_IRQHandler_end
bx r0
FLASHEOP_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM0IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM0IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM0IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM0IRQHandler
IRQ_to_SYS
ldr r0, =PWM0_IRQHandler
ldr lr,=PWM0_IRQHandler_end
bx r0
PWM0_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM1IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM1IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM1IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM1IRQHandler
IRQ_to_SYS
ldr r0, =PWM1_IRQHandler
ldr lr,=PWM1_IRQHandler_end
bx r0
PWM1_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM2IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM2IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM2IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM2IRQHandler
IRQ_to_SYS
ldr r0, =PWM2_IRQHandler
ldr lr,=PWM2_IRQHandler_end
bx r0
PWM2_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM3IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM3IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM3IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM3IRQHandler
IRQ_to_SYS
ldr r0, =PWM3_IRQHandler
ldr lr,=PWM3_IRQHandler_end
bx r0
PWM3_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM4IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM4IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM4IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM4IRQHandler
IRQ_to_SYS
ldr r0, =PWM4_IRQHandler
ldr lr,=PWM4_IRQHandler_end
bx r0
PWM4_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : PWM5IRQHandler
;* Description : This function used to switch to SYS mode before entering
; the PWM5IRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; PWM5IRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
PWM5IRQHandler
IRQ_to_SYS
ldr r0, =PWM5_IRQHandler
ldr lr,=PWM5_IRQHandler_end
bx r0
PWM5_IRQHandler_end:
SYS_to_IRQ
;*******************************************************************************
;* Function Name : WIUIRQHandler
;* Description : This function used to switch to SYS mode before entering
; the WIUIRQHandler function located in 73x_it.c.
; Then to return to IRQ mode after the
; WIUIRQHandler function termination.
;* Input : none
;* Output : none
;*******************************************************************************
WIUIRQHandler
IRQ_to_SYS
ldr r0, =WIU_IRQHandler
ldr lr,=WIU_IRQHandler_end
bx r0
WIU_IRQHandler_end:
SYS_to_IRQ
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?