uart_isr.s

来自「This project contains code for testin re」· S 代码 · 共 25 行

S
25
字号
		RSEG ICODE:CODE
		CODE32

		EXTERN UART_isr
		PUBLIC UARTisr_entry

; Wrapper for the serial port interrupt service routine.  This can cause a
; context switch so requires an assembly wrapper.

; Defines the portSAVE_CONTEXT and portRESTORE_CONTEXT macros.
#include "ISR_Support.h"

UARTisr_entry:

	portSAVE_CONTEXT			; Save the context of the current task.

	bl	UART_isr				; Call the ISR routine.

	portRESTORE_CONTEXT			; Restore the context of the current task -
								; which may be different to the task that
								; was interrupted.

		END

⌨️ 快捷键说明

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