32.8.19 ADSTAT
Note:
- If CS =
1
, and FOSC < FRC, these bits may be invalid.
Name: | ADSTAT |
Offset: | 0x115 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
OV | UTHR | LTHR | MATH | STAT[2:0] | |||||
Access | RO | RO | RO | R/HS/HC | RO | RO | RO | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – OV ADC Accumulator Overflow bit
Value | Description |
---|---|
1 |
ADC accumulator or ERR calculation have overflowed |
0 |
ADC accumulator and ERR calculation have not overflowed |
Bit 6 – UTHR ADC Module Greater-than Upper Threshold Flag bit
Value | Description |
---|---|
1 |
ERR > UTH |
0 |
ERR ≤ UTH |
Bit 5 – LTHR ADC Module Less-than Lower Threshold Flag bit
Value | Description |
---|---|
1 |
ERR < LTH |
0 |
ERR ≥ LTH |
Bit 4 – MATH ADC Module Computation Status bit
Value | Description |
---|---|
1 |
Registers ADACC, ADFLTR, ADUTH, ADLTH, and the OV 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 Multistage Status bits(1)
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 |
Not used |
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 |