C505_9708 SIEMENS [Siemens Semiconductor Group], C505_9708 Datasheet - Page 163

no-image

C505_9708

Manufacturer Part Number
C505_9708
Description
8-Bit CMOS Microcontroller
Manufacturer
SIEMENS [Siemens Semiconductor Group]
Datasheet
Special Function Register ADCON0 (Address D8 H )
Special Function Register ADCON1 (Address DC H )
Semiconductor Group
Bit
BSY
ADM
MX2 - MX0
DC H
D8 H
Bit No. MSB
ADCL1
BD
7
Function
Busy flag
This flag indicates whether a conversion is in progress (BSY = 1). The flag is
set by hardware during an A/D conversion and cleared when the conversion
is completed.
A/D conversion mode
When set, a continuous A/D conversion is selected. If cleared during a running
A/D conversion, the conversion is stopped after current conversion process is
completed.
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 ADCON1(0) overwrites the selection in ADCON
0(1) when ADCON1(0) is written after ADCON0(1).
The analog inputs are selected according to the following table :
The shaded bits are not used for A/D converter control.
MX2
0
0
0
0
1
1
1
1
ADCL0
CLK
6
MX1
0
0
1
1
0
0
1
1
5
BSY
MX0
0
1
0
1
0
1
0
1
4
6-101
ADM
Selected Analog Input
P1.0 / AN0 / INT3 / CC0
P1.1 / AN1 / INT4 / CC1
P1.2 / AN2 / INT5 / CC2
P1.3 / AN3 / INT6 / CC3
P1.4 / AN4
P1.5 / AN5 / T2EX
P1.6 / AN6 / CLKOUT
P1.7 / AN7 / T2
3
On-Chip Peripheral Components
MX2
MX2
2
MX1
MX1
1
Reset Value : 01XXX000 B
Reset Value : 00X00000 B
LSB
MX0
MX0
0
C505 / C505C
ADCON0
ADCON1
1997-08-01

Related parts for C505_9708