English
Language : 

C508_01 Datasheet, PDF (190/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller
C508
On-Chip Peripheral Components
Special Function Register ADCON0 (Address D8H)
Special Function Register ADCON1 (Address DCH)
Reset Value: 00X00000B
Reset Value: 01XXX000B
Bit No. MSB
7
D8H
BD
6
CLK
LSB
5
4
3
2
1
0
– BSY ADM MX2 MX1 MX0 ADCON0
DCH ADCL1 ADCL0 –
–
– MX2 MX1 MX0 ADCON1
The shaded bits are not used for A/D Converter control.
Bit
–
BSY
ADM
MX2 - MX0
Function
Reserved bits for future use
Busy flag
This flag indicates whether a conversion is in progress (BSY = 1). The
flag is cleared by hardware when the conversion is completed.
A/D conversion mode
When set, continuous A/D conversion is selected. If cleared during a
running A/D conversion, the conversion is stopped at its end.
A/D Converter input channel select bits
Bits MX2-0 can be written or read either in ADCON0 or ADCON1. The
channel selection done by writing to ADCON 1(0) overwrites the
selection in ADCON 0(1) when ADCON 1(0) is written after
ADCON 0(1).
The analog inputs are selected according the following table:
MX2
0
0
0
0
1
1
1
1
MX1
0
0
1
1
0
0
1
1
MX0
0
1
0
1
0
1
0
1
Selected Analog Input
P4.0 / AN0
P4.1 / AN1
P4.2 / AN2
P4.3 / AN3
P4.4 / AN4
P4.5 / AN5
P4.6 / AN6
P4.7 / AN7
User’s Manual
6-125
2001-05