25 A/D CONVERTER (ADC10)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
25-3
3.1.1 A/D Conversion Clock (PCLK1 Division Ratio) Selections
Table 25.
ADDF[3:0]
Division Ratio
0xf
Reserved
0xe
1/32768
0xd
1/16384
0xc
1/8192
0xb
1/4096
0xa
1/2048
0x9
1/1024
0x8
1/512
0x7
1/256
0x6
1/128
0x5
1/64
0x4
1/32
0x3
1/16
0x2
1/8
0x1
1/4
0x0
1/2
(Default: 0x0)
Selecting A/D Conversion Start and End Channels
25.3.2
Select the channel in which the A/D conversion is to be performed from among the pins (channels) that have been
set for analog input. To enable A/D conversions in multiple channels to be performed successively through one con-
vert operation, specify the conversion start and conversion end channels using ADCS[2:0]/ADC10_TRG register
and ADCE[2:0]/ADC10_TRG register, respectively.
3.2.1 Relationship between ADCS/ADCE and Input Channels
Table 25.
ADCS[2:0]/ADCE[2:0]
Channel selected
0x7–0x6
Reserved
0x5
AIN5
0x4
AIN4
0x3
AIN3
0x2
AIN2
0x1
AIN1
0x0
AIN0
(Default: 0x0)
Example: Operation of one A/D conversion
ADCS[2:0] = 0, ADCE[2:0] = 0
Converted only in AIN0
ADCS[2:0] = 0, ADCE[2:0] = 3
Converted in the following order: AIN0
→
AIN1
→
AIN2
→
AIN3
ADCS[2:0] = 4, ADCE[2:0] = 1
Converted in the following order: AIN4
→
AIN5
→
(AIN6)
→
(AIN7)
→
AIN0
→
AIN1
Note: The control circuits in the A/D converter supports up to eight channels for expansion in the future,
and it performs A/D conversion if a channel (AIN6–AIN7) without an analog input is specified.
In this case, the results that will be stored to ADD[15:0]/ADC10_ADD register is 0x0. To avoid
A/D conversion for the channels without an input, set the ADCS[2:0] to equal or smaller than
ADCE[2:0] within the available analog inputs.