You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/Demo/PIC32MX_MPLAB/timertest_isr.S

25 lines
389 B
ArmAsm

#include <p32xxxx.h>
#include <sys/asm.h>
#include "ISR_Support.h"
.set nomips16
.set noreorder
.extern vT2InterruptHandler
.extern xISRStackTop
.global vT2InterruptWrapper
.set noreorder
.set noat
.ent vT2InterruptWrapper
vT2InterruptWrapper:
portSAVE_CONTEXT
jal vT2InterruptHandler
nop
portRESTORE_CONTEXT
.end vT2InterruptWrapper