33.5.5 ADSTAT

ADC Status Register
Note:
  1. MATH bit cannot be cleared by software while STAT = ‘b100.
  2. If ADC clock source is ADCRC and FOSC < ADCRC, the indicated status may not be valid.
  3. STAT = ‘b100 appears between the two triggers when DSEN = 1 and CONT = 0.
Name: ADSTAT
Offset: 0x1D2A

Bit 76543210 
 AOVUTHRLTHRMATH STAT[2:0] 
Access R/C/HS/HCRRR/W/HSRRR 
Reset 0000000 

Bit 7 – AOV ADC Accumulator Overflow

ValueDescription
1 ADACC or ADFLTR or ADERR registers have overflowed
0 ADACC, ADFLTR and ADERR registers have not overflowed

Bit 6 – UTHR ADC Module Greater-than Upper Threshold Flag

ValueDescription
1 ADERR > ADUTH
0 ADERRADUTH

Bit 5 – LTHR ADC Module Less-than Lower Threshold Flag

ValueDescription
1 ADERR < ADLTH
0 ADERR ADLTH

Bit 4 – MATH ADC Module Computation Status

ADC Module Computation Status(1)

ValueDescription
1 Registers ADACC, ADFLTR, ADUTH, ADLTH and the AOV bit are updating or have already updated
0 Associated registers/bits have not changed since this bit was last cleared

Bits 2:0 – STAT[2:0] ADC Module Cycle Multi-Stage Status

ValueDescription
111 ADC module is in 2nd conversion stage
110 ADC module is in 2nd acquisition stage
101 ADC module is in 2nd precharge stage
100 ADC computation is suspended between 1st and 2nd sample; the computation results are incomplete and awaiting data from the 2nd sample(2,3)
011 ADC module is in 1st conversion stage
010 ADC module is in 1st acquisition stage
001 ADC module is in 1st precharge stage
000 ADC module is not converting
MATH bit cannot be cleared by software while STAT = ‘b100. If ADC clock source is ADCRC and FOSC < ADCRC, the indicated status may not be valid. STAT = ‘b100 appears between the two triggers when DSEN = 1 and CONT = 0.