Download 8-Bit XC82x

Transcript
XC82x
Analog to Digital Converter
Field
Bits
Type Description
RESULT[9:3]
[6:0]
rh
Conversion Result
This bit field contains the conversion result or the
result of the data reduction filter.
0
7
r
Reserved
Returns 0 if read; should be written with 0.
ADC_RESRxL (x = 0 - 2)
Result Register x Low, View Acc. 8-bit 2nd conv.(CAH + x * 2)
ADC_RESR3L
Result Register 3 Low, View Acc. 8-bit 2nd conv.(D2H)
RMAP: 0, PAGE: 2
7
6
5
4
3
2
Reset Value: 00H
Reset Value: 00H
1
R0
0
VF
DRC
CHNR
rh
r
rh
rh
rh
0
Field
Bits
Type Description
CHNR
[2:0]
rh
Channel Number
This bit field contains the channel number of the
latest register update.
Note: Bit 2is only applicable for devices that have 8
ADC channels. For channels not implemented, these
bits should be treated as Reserved bits of type ‘r’
which returns ‘0’ if read and should be written with 0.
DRC
3
rh
Data Reduction Counter
This bit field indicates how many conversion results
have still to be accumulated to generate the final
result for data reduction.
The final result is available in the result
0B
register.The valid flag is automatically set
when this bit field is set to 0.
1 more conversion result must be added to
1B
obtain the final result in the result register.The
valid flag is automatically reset when this bit
field is set to 1.
User’s Manual
ADC, V2.1
21-71
V1.0, 2010-02