Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
A/D Control Register 0
b7
b6
b5
b4
b3
b2
NOTE:
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
b2
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 16.2 ADCON0 Register and ADCON1 Register
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
(1)
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
(1)
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
VREF Connect Bit
OPA0
External Op-Amp
Connection Mode Bit
OPA1
page 204 of 378
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
0 : A/D conversion disabled
1 : A/D conversion started
Refer to NOTE 2 for 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 2 for ADCON2
Register
0 : VREF not connected
(2)
1 : VREF connected
Function varies
with each operation mode
16. A/D Converter
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW