I am trying to read ADC1 port P2.4. I went to IFXConfigWizard and select Sequence 1 - 6 and select channel 4 (P2.4). If want want to read the ADC only when require how do I do that. Currently I am able to read from the interrupt when I enable Interrupt Channel 4 (P2.4) like the example with Function name called Poti_Handler.
If I use the interrupt enable when I run the motor the motor not able to run properly. Is there any other around this. I do not need to read ADC while I am running the motor.

Thank you,