
17 12-BIT A/D CONVERTER (ADC12A)
S1C17M12/M13 TECHNICAL MANUAL
Seiko Epson Corporation
17-9
(Rev. 1.2)
Table 17.6.4 A/D Converter Operating Voltage Range Setting
ADC12_nCFG.VRANGE[1:0] bits
A/D converter operating voltage range
0x3
1.8 to 5.5 V
0x2
3.6 to 5.5 V
0x1
4.8 to 5.5 V
0x0
Conversion disabled
Notes: • A/D conversion will not be performed if the ADC12_nCFG.VRANGE[1:0] bits = 0x0. Set
these bits to a value other than 0x0 to perform A/D conversion.
• Be aware that ADC circuit current I
ADC
flows if the ADC12_nCFG.VRANGE[1:0] bits are set
to a value other than 0x0 when the ADC12_nCTL.BSYSTAT bit = 1.
ADC12A Ch.
n
Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
ADC12_nINTF
15 AD7OVIF
0
H0
R/W Cleared by writing 1.
14 AD6OVIF
0
H0
R/W
13 AD5OVIF
0
H0
R/W
12 AD4OVIF
0
H0
R/W
11 AD3OVIF
0
H0
R/W
10 AD2OVIF
0
H0
R/W
9
AD1OVIF
0
H0
R/W
8
AD0OVIF
0
H0
R/W
7
AD7CIF
0
H0
R/W
6
AD6CIF
0
H0
R/W
5
AD5CIF
0
H0
R/W
4
AD4CIF
0
H0
R/W
3
AD3CIF
0
H0
R/W
2
AD2CIF
0
H0
R/W
1
AD1CIF
0
H0
R/W
0
AD0CIF
0
H0
R/W
Bits 15–8 AD
m
OVIF
Bits 7–0
AD
m
CIF
These bits indicate the ADC12A interrupt cause occurrence status.
1 (R):
Cause of interrupt occurred
0 (R):
No cause of interrupt occurred
1 (W):
Clear flag
0 (W):
Ineffective
The following shows the correspondence between the bit and interrupt:
ADC12_
n
INTF.AD
m
OVIF bit: Analog input signal
m
A/D conversion result overwrite error interrupt
ADC12_
n
INTF.AD
m
CIF bit: Analog input signal
m
A/D conversion completion interrupt