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.

bug in ADC_SOC_CNF()?

Hi,
 
i think there is a little bug in the ADC_SOC_CNF() function of the C28x Digital Power Library 3.4.
The ADC channel 15 can also trigger an interrupt. So it should be IntChSel < 16.
Is my understanding correct?
 
-Thomas
*****************************************************

    if (IntChSel < 15)
        AdcRegs.INTSEL1N2.bit.INT1E = 1;        // enable ADC interrupt 1
    else
        AdcRegs.INTSEL1N2.bit.INT1E = 0;         // disable the ADC interrupt 1