在TMS570的HALCoGen例程中,有个example_rtiBlinky.c,请问该文件下的_enable_IRQ()函数体在哪儿?主要实现什么功能?我只在sys_core.h里找到了该函数的定义。
/* Enable IRQ - Clear I flag in CPS register */
/* Note: This is usually done by the OS or in an svc dispatcher */
_enable_IRQ();
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这个函数是使能IRQ中断的,在HL_sys_core.asm里
原型为:
;-------------------------------------------------------------------------------
; Enable interrupts - CPU IRQ
.def _enable_IRQ_interrupt_
.asmfunc
_enable_IRQ_interrupt_
cpsie i
bx lr
.endasmfunc