English
Language : 

C167CS Datasheet, PDF (367/517 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller
C167CS
Derivatives
The Analog/Digital Converter
A Channel Injection can be Triggered in Two 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.
The second method triggers a channel injection at a specific time, on the occurrence of
a predefined count value of the CAPCOM timers or on a capture event of register CC31.
This can be either the positive, the negative, or both the positive and the negative edge
of an external signal. In addition, this option allows recording the time of occurrence of
this signal.
Note: The channel injection request bit ADCRQ will be set on any interrupt request of
CAPCOM2 channel CC31, 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
ADDAT2, and a Channel Injection Complete Interrupt request will be generated,
which uses the interrupt request flag ADEIR (for this reason the Wait for ADDAT
Read Mode is required).
Note: If the temporary data register used in Wait for ADDAT Read Mode is full, the
respective next conversion (standard or injected) will be suspended. The
temporary register can hold data for ADDAT (from a standard conversion) or for
ADDAT2 (from an injected conversion).
User’s Manual
18-10
V2.0, 2000-07