Hi i want to use the A/D converter to compare voltages received against a set reference. I am writing a short program which if the value received is above a predetermined binary number (representing the voltage reference), the micro will branch to execute a short sequence. if it is below it will discard the reading and wait for the next input.
However i am having trouble setting up the register. i want the A/D converter to sample every 0.12 seconds (Max), and my micro has a clock frequency of 8MHz. How does that relate to the
"TAD"
and
"ADCS" bits shown in the attached file (data sheet screen shot).
I just need a bit of clarification with regard to Acquisition time, thanks.
(I have also added a link to a microchip doc i have been reading to shed more light on the situation)

https://www.electro-tech-online.com/custompdfs/2013/06/adc.pdf
However i am having trouble setting up the register. i want the A/D converter to sample every 0.12 seconds (Max), and my micro has a clock frequency of 8MHz. How does that relate to the
"TAD"
and
"ADCS" bits shown in the attached file (data sheet screen shot).
I just need a bit of clarification with regard to Acquisition time, thanks.
(I have also added a link to a microchip doc i have been reading to shed more light on the situation)

https://www.electro-tech-online.com/custompdfs/2013/06/adc.pdf