此文件是TI例程中的文件,请问以下程序中的几个变量是在哪里定义? 我能不能访问呢? 因为在整个工程文件中我没有看到以下变量.
变量: EPWMn_DPL_ISR,EPWM1,EPWM2,ADC_DPL_ISR
;----------------------------------------------------------------------------------------- ; Interrupt management before exit .if(EPWMn_DPL_ISR=1) .if(EPWM1) MOVW DP,#_EPwm1Regs.ETCLR MOV @_EPwm1Regs.ETCLR,#0x01 ; Clear EPWM1 Int flag .endif ; EPWM1 .if(EPWM2) MOVW DP,#_EPwm2Regs.ETCLR MOV @_EPwm2Regs.ETCLR,#0x01 ; Clear EPWM2 Int flag .endif ; EPWM2 MOVW DP,#_PieCtrlRegs.PIEACK ; Acknowledge PIE interrupt Group 3 MOV @_PieCtrlRegs.PIEACK, #0x4 .endif ; EPWMn_ISR .if(ADC_DPL_ISR=1) ; Case where ISR is triggered by ADC ; MOVW DP,#_AdcRegs.ADCINTFLGCLR ; MOV @AdcRegs.ADCINTFLGCLR, #0x01 ; Clear ADCINT1 Flag MOVW DP,#_PieCtrlRegs.PIEACK ; Acknowledge PIE interrupt Group 1 MOV @_PieCtrlRegs.PIEACK, #0x1 .endif ;-----------------------------------------------------------------------------------------