
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The Analog/Digital Converter
User’s Manual
16-22
V2.2, 2004-01
ADC_X1, V2.1
16.6
Interfaces of the ADC Module
The ADC is connected to its environment in different ways.
Internal Connections
The capture/compare signal CC31IO of the CAPCOM2 unit is connected to the ADC,
providing an optional trigger source for injected conversions.
The 2 interrupt request lines of the ADC are connected to the interrupt control block.
External Connections
The analog input signals for the ADC are connected with Port 5 of the XC161 (input
only). Two dedicated pins (
V
AREF
and
V
AGND
) provide the analog reference voltage for the
conversion mechanism.
Figure 16-6
ADC Module IO Interface
ADC
Module
V
AREF
ADC_EIRQ
ADC_CIRQ
System
Control
Unit (SCU)
Interrupt
Control
Block
f
ADC
ADCDIS
CC31_CIT
CAPCOM
Unit
V
GND
Port P5
Control
MCA05417
P5.0/AN0
P5.1/AN1
P5.2/AN2
P5.3/AN3
P5.4/AN4
P5.5/AN5
P5.6/AN6
P5.7/AN7
P5.8
P5.9
P5.10
P5.11
P5.12/AN12
P5.13/AN13
P5.14/AN14
P5.15/AN15
GPT External Inputs