English
Language : 

XC164-16 Datasheet, PDF (103/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
16.5
A/D Converter Interrupt Control
At the end of each conversion, interrupt request flag ADCIR in interrupt control register
ADC_CIC is set. This end-of-conversion interrupt request may cause an interrupt to
vector ADCINT, or it may trigger a PEC data transfer which reads the conversion result
from register ADC_DAT, e.g. to store it into a table in internal RAM for later evaluation.
The interrupt request flag ADEIR in register ADC_EIC will be set either, if a conversion
result overwrites a previous value in register ADC_DAT (error interrupt in standard
mode), or if the result of an injected conversion has been stored into ADC_DAT2 (end-
of-injected-conversion interrupt). This interrupt request may be used to cause an
interrupt to vector ADEINT, or it may trigger a PEC data transfer.
ADC_CIC
ADC Conversion Intr. Ctrl. Reg. SFR (FF98H/CCH)
15 14 13 12 11 10 9 8 7 6 5
-
GPX
ADC
IR
ADC
IE
- - - - - - - rw rwh rw
Reset Value: - - 00H
43210
ILVL
rw
GLVL
rw
ADC_EIC
ADC Error Intr. Ctrl. Reg.
SFR (FF9AH/CDH)
Reset Value: - - 00H
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
-
GPX
ADE
IR
ADE
IE
- - - - - - - rw rwh rw
ILVL
rw
GLVL
rw
Note: Please refer to the general Interrupt Control Register description for an
explanation of the control fields.
User’s Manual
ADC_X41, V2.1
16-21
V2.1, 2004-03