XC886/888CLM
Analog-to-Digital Converter
User’s Manual
16-21
V1.3, 2010-02
ADC, V 1.0
After this addition, the complete result is stored in the selected result register. The result
event is generated and the valid bit becomes set.
It is possible to have an identical cycle behavior of the path to the result register, with the
data reduction filter being enabled or disabled. Furthermore, an overflow of the result
register is avoided, because a maximum of 2 conversion results are added (a 10-bit
result added twice delivers a maximum of 11 bits).
16.4.7.4
Result Register View
In order to cover a wide range of applications, the content of result register x (x = 0 - 3)
is available as different read views at different addresses (see
):
•
Normal read view RESRxL/H:
This view delivers the 8-bit or 10-bit conversion result.
•
Accumulated read view RESRAxL/H:
This view delivers the accumulated 9-bit or 11-bit conversion result.
All conversion results (with or without accumulation) are stored in the result registers, but
can be viewed at either RESRxL/H or RESRAxL/H which shows different data alignment
and width.
When the data reduction filter is enabled (DRCTR = 1), read access should be
performed on RESRAxL/H as it shows the full 9-bit (R8:R0) or 11-bit (R10:R0)
accumulated conversion result. Reading from RESRxL/H gives the appended (MSB
unavailable) accumulated result.
When the data reduction filter is disabled (DRCTR = 0), the user can read the 8-bit or
10-bit conversion result from either RESRxL/H or RESRAxL/H. In particular, for 8-bit
conversion (without accumulation), the result can be read from RESRxH with a single
instruction. Hence, depending on the application requirement, the user can choose to
read from the different views.
*