官方例程cla_adc_fir32怎么进不了中断,
__interrupt void cla1Isr7 ()
{
//
// Clear the ADC interrupt flag so the next SOC can occur
// Clear the PIEACK bits so another interrupt can be taken
//
AdcaRegs.ADCINTFLGCLR.bit.ADCINT1 = 1; //make sure INT1 flag is cleared
PieCtrlRegs.PIEACK.all = (PIEACK_GROUP1 | PIEACK_GROUP11);
//
// Read the raw ADC RESULT1 register value and
// put it into the AdcBuf buffer
// This can be compared to the CLA filtered value
//
AdcBuf[SampleCount] = AdcaResultRegs.ADCRESULT0;
//
// Read the CLA filtered value and put it in the
// AdcFiltBuf buffer
//
AdcFiltBuf[SampleCount] = voltFilt;
//
// Make sure that the buffer does not overflow
// the buffer size. If it is larger than ADC_BUF_LEN
// then rewind back to the sample 0
//
SampleCount++;
if( SampleCount == ADC_BUF_LEN )
{
SampleCount = 0;
}
//
// Uncomment to halt debugger here
//
// asm(" ESTOP0");
}
我在这里打断点一直进不去,为什么呢?
Seven Han:
建议您可按照链接中的步骤重新操作下:http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/76270.aspx