Renesas M16C/62P Series Hardware Manual page 250

6-bit single-chip microcomputer
Table of Contents

Advertisement

M16C/62P Group (M16C/62P, M16C/62PT)
A/D Control Register 0
b7 b6 b5 b4
b3 b2 b1 b0
NOTES :
1.
If the ADCON0 register is rew ritten during A/D conversion, the conversion result w ill be indeterminate.
A/D Control Register 1
b7 b6 b5 b4 b3 b2 b1 b0
NOTES :
1.
If the ADCON1 register is rew ritten during A/D conversion, the conversion result w ill be indeterminate.
2.
If the VCUT bit is reset from "0" (Vref unconnected) to "1" (Vref connected), w ait for 1 µs or more before starting
A/D conversion.
Figure 18.2
ADCON0 to ADCON1 Registers
Rev.2.41
Jan 10, 2006
REJ09B0185-0241
http://www.xinpian.net
(1)
Symbol
Address
03D6h
ADCON0
Bit Symbol
Bit Name
CH0
Analog Input Pin Select Bit
CH1
CH2
A/D Operation Mode Select Bit 0
MD0
MD1
Trigger Select Bit
TRG
A/D Conversion Start Flag
ADST
Frequency Select Bit 0
CKS0
(1)
Symbol
Address
03D7h
ADCON1
Symbol
Address
SCAN0
A/D Sw eep Pin Select Bit
SCAN1
A/D Operation Mode Select Bit 1 0 : Any mode other than repeat sw eep mode 1
MD2
8/10-Bit Mode Select Bit
BITS
CKS1
Frequency Select Bit 1
Vref Connect Bit
VCUT
OPA0
External Op-Amp Connection
Mode Bit
OPA1
Page 235 of 390
提供单片机解密、IC解密、芯片解密业务
Function varies w ith each operation mode
b4 b3
0 0 : One-shot mode
0 1 : Repeat mode
1 0 : Single sw eep mode
1 1 : Repeat sw eep mode 0 or
Repeat sw eep mode 1
0 : Softw are trigger
________
1 : ADTRG
trigger
0 : A/D conversion disabled
1 : A/D conversion started
Refer to NOTE 3 for the ADCON2 Register
Function varies w ith each operation mode
1 : Repeat sw eep 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 w ith each operation mode
18. A/D Converter
After Reset
00000XXXb
Function
After Reset
00h
After Reset
010-62245566 13810019655
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/62pM16c/62pt

Table of Contents