Good day to all of you in the forum,
I am going to implemant an AD conversion using the Pic18f252 at 40 MHz clock speed and 10 bit resolution.
I still have problem in understanding how to set up the following parameters to get the most possible AD speed in a close loop :

Define ADC_CLOCK ??
Define ADC_SAMPLEUS ??

There is also a PAUSEUS ?? value to be put in the loop to comply with the settling or acquisistion time restriction: Where to put it ? and what is the minimum time ?

I thank you in advance for any help on the matter.

Regards,
Ambrogio