43.7.5 ADSTAT
Note:
- The 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
.
Name: | ADSTAT |
Address: | 0x3F7 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
AOV | UTHR | LTHR | MATH | STAT[2:0] | |||||
Access | R/C/HS/HC | R | R | R/W/HS | R | R | R | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – AOV ADC Accumulator Overflow
Bit 6 – UTHR ADC Module Greater-than Upper Threshold Flag
Bit 5 – LTHR ADC Module Less-than Lower Threshold Flag
Bit 4 – MATH ADC Module Computation Status
Bits 2:0 – STAT[2:0] ADC Module Cycle Multi-Stage Status
Value | Description |
---|---|
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 |