There are 2 ways.
1. You need to disable "ADC on End" interrupt and use followed code - i.e. wait end of ADC conversion in the timer event.
2. Enable "ADC on End" interrupt. In the timer interrupt function use
AD1_Measure(FALSE); // run conversion
and in the ADC interrupt function - i.e. after conversion ended succesfully
AD1_GetValue(&adc_Buff[0]);
Message Edited by Alexey on 2006-12-2008:02 PM