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.

TM4C129x ADC1 module doesn't generate interrupt to NVIC .Why?

I use the Tiva™ C Series TM4C129X board development kit to configure ADC1 module,but it doesn't generate an interrupt to the Microcontroller  NVIC. I don't why?

My code as following:

void ADC1IntHandler(void)

{

       //interrupt code

       .................................

}

void ADC1Init(void)

{

        SysCtlPeripheralEnable(SYSCTL_PERIPH_ADC1);

        SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOE);

        GPIOPinTypeADC(GPIO_PORTE_BASE, GPIO_PIN_1);

        ADCSequenceConfigure(ADC1_BASE, 0, ADC_TRIGGER_PROCESSOR, 0);

        ADCSequenceStepConfigure(ADC1_BASE, 0, 0, ADC_CTL_CH2 | ADC_CTL_IE |
                                                                                                                                         ADC_CTL_END);

        IntEnable(INT_ADC1SS0_BLIIARD);

        ADCIntEnable(ADC1_BASE,0);

        ADCSequenceEnable(ADC1_BASE,0);

}

int main()

{

      //set system clock

     ..........

     // initialize ADC1 module

     ADC1Init();

     IntMasterEnable();

    // trigger ADC1 module

    ADCProcessorTrigger(ADC1_BASE, 0);

    ....................................................

}