33.7.4 ADCON3

ADC Control Register 3
Name: ADCON3
Address: 0xF56

Bit 76543210 
  ADCALC[2:0]ADSOIADTMD[2:0] 
Access R/WR/WR/WR/W/HCR/WR/WR/W 
Reset 0000000 

Bits 6:4 – ADCALC[2:0] ADC Error Calculation Mode Select bits

See Table 33-6 table for selection details.

Bit 3 – ADSOI ADC Stop-on-Interrupt bit

ValueNameDescription
1 ADCONT = 1 ADGO is cleared when the threshold conditions are met, otherwise the conversion is retriggered
0 ADCONT = 1 ADGO is not cleared by hardware, must be cleared by software to stop retriggers
x ADCONT = 0 This bit is not used

Bits 2:0 – ADTMD[2:0] Threshold Interrupt Mode Select bits

ValueDescription
111 Interrupt regardless of threshold test results
110 Interrupt if ADERR>ADUTH
101 Interrupt if ADERR≤ADUTH
100 Interrupt if ADERR<ADLTH or ADERR>ADUTH
011 Interrupt if ADERR>ADLTH and ADERR<ADUTH
010 Interrupt if ADERR≥ADLTH
001 Interrupt if ADERR<ADLTH
000 Never interrupt