19-11
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
ADC12A Ch.
n
Configuration Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
ADC12A_
n
CFG
15
–
8
–
0x00
–
R
–
7
–
2
–
0x00
–
R
1
–
0
VRANGE[1:0]
0x0
H0
R/W
Note:
Make sure that the ADC12A_
n
CTL.BSYSTAT bit is set to 0 before altering the ADC12A_
n
CFG register.
Bits 15
–
2
Reserved
Bits 1
–
0
VRANGE[1:0]
These bits set the A/D converter operating voltage range.
Table 19.7.4 A/D Converter Operating Voltage Range Setting
ADC12A_
n
CFG.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_
n
CFG.VRANGE[1:0] bits = 0x0. Setthese bits to the
value according to the operating voltage to perform A/D conversion.
Be aware that ADC circuit current I
ADC
flows if the ADC12_
n
CFG.VRANGE[1:0] bits are set
to a value other
than 0x0 when the ADC12_
n
CTL.BSYSTAT bit = 1.
ADC12A Ch.
n
Interrupt Flag Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
ADC12A_
n
INTF
15
–
9
–
0x00
–
R
–
8
OVIF
0
H0
R/W
Cleared by writing 1.
7
AD7IF
0
H0
R/W
6
AD6IF
0
H0
R/W
5
AD5IF
0
H0
R/W
4
AD4IF
0
H0
R/W
3
AD3IF
0
H0
R/W
2
AD2IF
0
H0
R/W
1
AD1IF
0
H0
R/W
0
AD0IF
0
H0
R/W
Bits 15
–
9
Reserved
Bit 8
OVIF
Bits 7
–
0
AD
m
IF
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:
ADC12A_
n
INTF.OVIF bit:
A/D conversion result overwrite error interrupt
ADC12A_
n
INTF.AD
m
CIF bit: Analog input signal
m
A/D conversion completion interrupt
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...