English
Language : 

XC161 Datasheet, PDF (83/419 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
The Analog/Digital Converter
16
The Analog/Digital Converter
The XC161 provides an Analog/Digital Converter with 8-bit or 10-bit resolution and a
sample & hold circuit on-chip. An input multiplexer selects between up to 12 analog input
channels (alternate functions of Port 5) either via software (fixed channel modes) or
automatically (auto scan modes).
To fulfill most requirements of embedded control applications the ADC supports the
following conversion modes:
• Fixed Channel Single Conversion
produces just one result from the selected channel
• Fixed Channel Continuous Conversion
repeatedly converts the selected channel
• Auto Scan Single Conversion
produces one result from each of a selected group of channels
• Auto Scan Continuous Conversion
repeatedly converts the selected group of channels
• Wait for ADDAT Read Mode
start a conversion automatically when the previous result was read
• Channel Injection Mode
start a conversion when a hardware trigger occurs,
can insert the conversion of a specific channel into a group conversion (auto scan)
A set of SFRs and port pins provide access to control functions and results of the ADC.
The enhanced-mode registers provide more detailed control functions for the ADC.
Data Registers
ADC_DAT
ADC_DAT2 E
Control Registers
ADC_CON
ADC_CON1
ADC_CTR0
ADC_CTR2
A D C _ C T R 2 IN
Interrupt Control
ADC_CIC
ADC_EIC
System Registers
P5
P5DIDIS
E
SYSCON3
Com patibility M ode:
ADC_CO N ADC Control Register
ADC_CO N1 ADC Control Register 1
Enhanced Mode:
ADC_CTR0 ADC Control Register 0
ADC_CTR2 ADC Control Register 2
ADC_CTR2IN ADC Control Injection Register
ADC_DAT ADC Result Register
ADC_DAT2 ADC Injection Result Register
ADC_CIC ADC End-of-Conversion Intr. Reg.
ADC_EIC ADC Conversion-Error Intr. Reg.
P5
Port 5 Analog Input Port
(AN15...AN12, AN7...AN0)
P5DIDIS Port 5 Digital Input Disable Reg.
m c_adc0100_registers.vsd
Figure 16-1 SFRs and Port Pins Associated with the A/D Converter
User’s Manual
ADC_X1, V2.1
16-1
V2.2, 2004-01