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.

RM44L520: _enable_interrupts

Part Number: RM44L520
Other Parts Discussed in Thread: HALCOGEN

各位我想问下,我们项目使用RM44L520芯片,CCS6.2编译器。_enable_interrupts()这个函数,我使用没有问题。但是找不到它的定义或者声明的地方。现在认证做静态分析时,让我解释这个函数。这个要怎么解释,是因为这是一条汇编指令吗?

  •  _enable_interrupt_() 是在 sys_core.asm 中定义的,您可以看一下

    ;-------------------------------------------------------------------------------
    ; Enable interrupts - R4 IRQ & FIQ
    
           ##def## _enable_interrupt_
           ##asmfunc##
    
    _enable_interrupt_
    
            cpsie if
            bx    lr
    
            ##endasmfunc##

    一般可以在HALCoGen下找到该文件

    HALCoGen\v04.07.01\drivers\TMS570LS3137ZWT\SYSTEM570v000