English
Language : 

XC164-16 Datasheet, PDF (97/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
A channel injection can be triggered in three ways:
• setting of the Channel Injection Request bit ADCRQ via software
• a compare or a capture event of Capture/Compare register CC31 of the CAPCOM2
unit, which also sets bit ADCRQ
• a period-match of timer T13 of the CAPCOM6 unit, which also sets bit ADCRQ.
The second method triggers a channel injection at a specific time, on the occurrence of
a predefined count value of the CAPCOM2 timers, stored in register CC31.
Note: The channel injection request bit ADCRQ will be set on any selected injection
trigger (interrupt request of CAPCOM2 channel CC31 or period match of
CAPCOM6 timer T13), regardless whether the channel injection mode is enabled
or not. It is recommended to always clear bit ADCRQ before enabling the channel
injection mode.
After the completion of the current conversion (if any is in progress) the converter will
start (inject) the conversion of the specified channel. When the conversion of this
channel is complete, the result will be placed into the alternate result register
ADC_DAT2, and a Channel Injection Complete Interrupt request will be generated,
which uses the interrupt request flag ADEIR (for this reason the Wait for Read Mode is
required).
Note: The result of an injected conversion is directly written to ADC_DAT2. If the
previous result has not been read in the meantime, it is overwritten.
Standard conversions are suspended if the temporary buffer is full.
User’s Manual
ADC_X41, V2.1
16-15
V2.1, 2004-03