M16C/62P Group (M16C/62P, M16C/62PT)
A/D Control Register 0
b7
b6
b5
b4
b3
NOTES:
1. If the ADCON0 register is rewritten during A/D conversion, the conversion result will be indeterminate.
A/D Control Register 1
b7
b6
b5
b4
b3
NOTES:
1. If the ADCON1 register is rewritten during A/D conversion, the conversion result will be indeterminate.
2. If the VCUT bit is reset from "0" (Vref unconnected) to "1" (Vref connected), wait for 1 µs or more before starting
A/D conversion.
Figure 18.2 ADCON0 to ADCON1 Registers
R
e
. v
2
3 .
0
S
e
p
0
, 1
2
0
0
4
R
E
J
0
9
B
0
1
8
5
0 -
2
3
0
Z
(1)
b2
b1
b0
Symbol
ADCON0
Bit Symbol
CH0
Analog Input Pin
Select Bit
CH1
CH2
A/D Operation Mode
MD0
Select Bit 0
MD1
Trigger Select Bit
TRG
A/D Conversion Start Flag 0 : A/D conversion disabled
ADST
CKS0
Frequency Select Bit 0
(1)
b2
b1
b0
Symbol
ADCON1
Bit Symbol
A/D Sweep Pin Select Bit
SCAN0
SCAN1
A/D Operation Mode
MD2
Select Bit 1
8/10-Bit Mode Select Bit
BITS
CKS1
Frequency Select Bit 1
Vref Connect Bit
VCUT
External Op-Amp
OPA0
Connection Mode Bit
OPA1
page 209
f o
3
6
4
Address
After Reset
03D6h
00000XXXb
Bit Name
Function varies with each operation mode
b4 b3
0 0 : One-shot mode
0 1 : Repeat mode
1 0 : Single sweep mode
1 1 : Repeat sweep mode 0 or
Repeat sweep mode 1
0 : Software trigger
1 : ADTRG trigger
1 : A/D conversion started
Refer to NOTE 3 for the ADCON2
Register
Address
After Reset
03D7h
00h
Bit Name
Function varies with each operation mode
0 : Any mode other than repeat sweep
mode 1
1 : Repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
Refer to NOTE 3 for the ADCON2
Register
(2)
0 : Vref not connected
1 : Vref connected
Function varies with each operation mode
18. A/D Converter
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW