English
Language : 

XC164-16 Datasheet, PDF (92/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
The Analog/Digital Converter
Conversion Result
The result of a conversion is stored in the result register ADC_DAT, or in register
ADC_DAT2 for an injected conversion.
The position of the result depends on the basic operating mode (compatibility or
enhanced) and on the selected resolution (8-bit or 10-bit).
Note: Bitfield CHNR of register ADC_DAT is loaded by the ADC to indicate, which
channel the result refers to. Bitfield CHNR of register ADC_DAT2 is loaded by the
CPU to select the analog channel, which is to be injected.
ADC_DAT
ADC Result Register
SFR (FEA0H/50H)
15 14 13 12 11 10 9 8 7 6 5
CHNR
rwh
ADRES
rwh
Reset Value: 0000H
43210
ADC_DAT2
ADC Chan. Inj. Result Reg.
ESFR (F0A0H/50H)
15 14 13 12 11 10 9 8 7 6 5
CHNR
rw
ADRES
rwh
Reset Value: 0000H
43210
Field
CHNR
ADRES
Bits Type
[15:12] rw[h]
[11:0] rwh
Function
Channel Number (identifies the converted analog
channel)
A/D Conversion Result
The digital result of the most recent conversion.
In compatibility mode, the result is placed as follows:
8-bit: ADRES[9:2]
10-bit: ADRES[9:0]
In enhanced mode, the result is placed as follows:
8-bit: ADRES[11:4]
10-bit: ADRES[11:2]
Note: Unused bits of ADRES are always set to 0.
User’s Manual
ADC_X41, V2.1
16-10
V2.1, 2004-03