The Auto-conversion Trigger allows periodic ADC measurements without software intervention. When a rising edge of the selected source occurs, the ADGO bit is set by hardware.
The Auto-conversion Trigger source is selected with the ADACT bits.
Using the Auto-conversion Trigger does not assure proper ADC timing. It is the user’s responsibility to ensure that the ADC timing requirements are met. See the following table for auto-conversion sources.
| ADACT | Auto-conversioin Trigger Source |
|---|---|
| 11111 | Software write to ADPCH |
| 11110 | Reserved, do not use |
| 11101 | Software read of ADRESH |
| 11100 | Software read of ADERRH |
| 11011 to 11000 | Reserved, do not use |
| 10111 | Interrupt-on-change Interrupt Flag |
| 10110 | CMP3OUT |
| 10101 | CMP2OUT |
| 10100 | CMP1OUT |
| 10011 | PWM7OUT |
| 10010 | PWM6OUT |
| 10001 | CCP5OUT |
| 10000 | CCP4OUT |
| 01111 | CCP3OUT |
| 01110 | CCP2OUT |
| 01101 | CCP1OUT |
| 01100 | SMT2_overflow |
| 01011 | SMT1_overflow |
| 01010 | TMR8_postscaled |
| 01001 | TMR7_overflow |
| 01000 | TMR6_postscaled |
| 00111 | TMR5_overflow |
| 00110 | TMR4_postscaled |
| 00101 | TMR3_overflow |
| 00100 | TMR2_postscaled |
| 00011 | TMR1_overflow |
| 00010 | TMR0_overflow |
| 00001 | Pin selected by ADACTPPS |
| 00000 | External Trigger Disabled |