Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
A-D control register 0 (Note)
b7
b6
b5
b4
b3
b2
Note: If the ADCON0 register is rewritten during A-D conversion, the conversion result will be indeterminate.
A-D control register 1 (Note 1)
b7
b6
b5
b4
b3
b2
Note 1: If the ADCON1 register is rewritten during A-D conversion, the conversion result will be indeterminate.
Note 2: If the VCUT bit is reset from "0" (V
starting A-D conversion.
Figure 1.16.2 ADCON0 Register and ADCON1 Register
Rev.1.00
2003.05.30
page 184
b1
b0
Symbol
ADCON0
Bit symbol
CH0
CH1
Analog input pin select bit
CH2
MD0
A-D operation mode
select bit 0
MD1
Trigger select bit
TRG
A-D conversion start flag
ADST
Frequency select bit 0
CKS0
b1
b0
Symbol
ADCON1
Bit symbol
SCAN0
A-D sweep pin select bit
SCAN1
A-D operation mode
MD2
select bit 1
BITS
8/10-bit mode select bit
Frequency select bit 1
CKS1
VCUT
V
connect bit (Note 2)
REF
OPA0
External op-amp
connection mode bit
OPA1
unconnected) to "1" (V
REF
Address
After reset
03D6
00000XXX
16
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 : AD
TRG
0 : A-D conversion disabled
1 : A-D conversion started
See Note 2 for the ADCON2
register
Address
After reset
03D7
00
16
16
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
See Note 2 for the ADCON2
register
0 : V
REF
1 : V
REF
Function varies
with each operation mode
connected), wait for 1 µs or more before
REF
A-D Converter
2
Function
RW
RW
RW
RW
RW
RW
RW
trigger
RW
RW
Function
RW
RW
RW
RW
RW
RW
not connected
RW
connected
RW
RW