Register Configuration - Philips CEM2100/00 Service Manual

Mini system
Hide thumbs Also See for CEM2100/00:
Table of Contents

Advertisement

17. 10-bit AD Converter (ADC)

17.2 Register configuration

17.2 Register configuration
The AD converter consists of the following four registers:
1. AD converter control register 1 (ADCCR1)
form AD conversion and controls the AD converter as it starts operating.
2. AD converter control register 2 (ADCCR2)
resistor network).
3. AD converted value register 1 (ADCDR1)
4. AD converted value register 2 (ADCDR2)
AD Converter Control Register 1
ADCCR1
(001CH)
Note 1: Select analog input channel during AD converter stops (ADCDR2<ADBF> = "0").
Note 2: When the analog input channel is all use disabling, the ADCCR1<AINDS> should be set to "1".
Note 3: During conversion, Do not perform port output instruction to maintain a precision for all of the pins because analog input
port use as general input port. And for port near to analog input, Do not input intense signaling of change.
Note 4: The ADCCR1<ADRS> is automatically cleared to "0" after starting conversion.
Note 5: Do not set ADCCR1<ADRS> newly again during AD conversion. Before setting ADCCR1<ADRS> newly again, check
ADCDR2<EOCF> to see that the conversion is completed or wait until the interrupt signal (INTADC) is generated (e.g.,
interrupt handling routine).
Note 6: After STOP or SLOW/SLEEP mode are started, AD converter control register1 (ADCCR1) is all initialized and no data can
be written in this register. Therfore, to use AD converter again, set the ADCCR1 newly after returning to NORMAL1 or
NORMAL2 mode.
This register selects the analog channels and operation mode (Software start or repeat) in which to per-
This register selects the AD conversion time and controls the connection of the DA converter (Ladder
This register used to store the digital value fter being converted by the AD converter.
This register monitors the operating status of the AD converter.
7
6
5
ADRS
AMD
ADRS
AD conversion start
AMD
AD operating mode
AINDS
Analog input control
SAIN
Analog input channel select
4
3
2
AINDS
SAIN
0:
-
1:
AD conversion start
00:
AD operation disable
01:
Software start mode
10:
Reserved
11:
Repeat mode
0:
Analog input enable
1:
Analog input disable
0000:
AIN0
0001:
AIN1
0010:
AIN2
0011:
AIN3
0100:
AIN4
0101:
AIN5
0110:
AIN6
0111:
AIN7
1000:
AIN8
1001:
AIN9
1010:
AIN10
1011:
AIN11
1100:
AIN12
1101:
AIN13
1110:
AIN14
1111:
AIN15
Page 212
1
0
(Initial value: 0001 0000)
T5CL8
R/W

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cem2100Cem2100/98

Table of Contents