XC886/888CLM
Analog-to-Digital Converter
User’s Manual
16-53
V1.3, 2010-02
ADC, V 1.0
16.7.8
Result Registers
The result registers deliver the conversion results and, optionally, the channel number
that has lead to the latest update of the result register. The result registers are available
as different read views at different addresses. The following bit fields can be read from
the result registers, depending on the selected read address. For details on the
conversion result alignment and width, see
.
Normal Read View RESRx
This view delivers the 8-bit or 10-bit conversion result and a 3-bit channel number. The
corresponding valid flag is cleared when the high byte of the register is accessed by a
read command, provided that bit RCRx.VFCTR is set.
RESRxL (x = 0 - 2)
Result Register x Low
(CA
H
+ x * 2)
Reset Value: 00
H
RESR3L
Result Register 3 Low
(D2
H
)
Reset Value: 00
H
7
6
5
4
3
2
1
0
RESULT[1:0]
0
VF
DRC
CHNR
rh
r
rh
rh
rh
Field
Bits
Type Description
CHNR
[2:0]
rh
Channel Number
This bit field contains the channel number of the
latest register update.
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.
0
B
The final result is available in the result
register.The valid flag is automatically set
when this bit field is set to 0.
1
B
1 more conversion result must be added to
obtain the final result in the result register.The
valid flag is automatically reset when this bit
field is set to 1.
*