Renesas M16C FAMILY Hardware Manual page 135

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY:
Table of Contents

Advertisement

Under development
Preliminary specification
Specifications in this manual are tentative and subject to change.
R8C/11 Group
A-D control register 0
b7 b6 b5 b4 b3 b2 b1 b0
0
Notes:
1. If the ADCON register is rewritten during A-D conversion, the conversion result is indeterminate.
2. When changing A-D operation mode, set analog input pin again.
3. This bit is valid when the CKS1 bit in the ADCON1 register is set to "0".
4. The analog input pin can be selected by a combination of the CH2 to CH0 bits and ADGSEL0 bit as follows:
CH2 to CH0
000
2
001
2
010
2
011
2
100
2
101
2
110
2
111
2
A-D control register 1
b7 b6 b5 b4 b3 b2 b1 b0
0
0
0
Notes:
1. If the ADCON1 register is rewritten during A-D conversion, the conversion result is indeterminate.
2. In repeat mode, the BITS bit must be set to "0" (8-bit mode).
3. The φ
frequency must be 10 MHz or less.
AD
4. 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 14.2 ADCON0 Register and ADCON1 Register
Rev.0.91
2003 Sep 08
1
Symbol
ADCON0
Bit symbol
Bit name
Analog input pin select bit
CH0
CH1
CH2
A-D operation mode
MD
2
select bit
A-D input group select bit
ADGSEL0
Reserved bit
(b5)
A-D conversion start flag
ADST
Frequency select bit 0
CKS0
ADGSEL0=0
ADGSEL0=1
AN
0
Avoid these
AN
1
settings
AN
2
AN
3
AN
AN
4
8
AN
AN
5
9
AN
6
AN
10
AN
AN
7
11
1
Symbol
0
0
ADCON1
Bit symbol
Bit name
Reserved bit
(b2-b0)
8/10-bit mode select
BITS
2
bit
Frequency select bit 1
CKS1
Vref connect bit
VCUT
Reserved bit
(b6-b7)
page 125 of 184
Address
After reset
00D6
00000XXX
16
2
See Note 4.
0 : One-shot mode
1 : Repeat mode
4
0: Port P0 group selected (AN
1: Port P1 group selected (AN
Must set to "0"
0 : A-D conversion disabled
1 : A-D conversion started
3
0 : f
/4 is selected
AD
1 : f
/2 is selected
AD
Address
After reset
00D7
00
16
16
Function
Must set to "0"
0 : 8-bit mode
1 : 10-bit mode
3
0 : CKS0 bit in ADCON0 register is valid
1 : f
is selected
AD
4
0 : Vref not connected
1 : Vref connected
Must set to "0"
14. A-D Converter
Function
RW
RW
RW
RW
RW
to AN
)
0
7
RW
to AN
)
8
11
RW
RW
RW
RW
RW
RW
RW
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c seriesTiny series

Table of Contents