English
Language : 

M16C65 Datasheet, PDF (710/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
27. A/D Converter
27.4.4.2 A/D Control Register 1 (ADCON1) (In Repeat Sweep Mode 0)
A/D Control Register 1
b7 b6 b5 b4 b3 b2 b1 b0
1
0
Symbol
ADCON1
Address
03D7h
After Reset
0000 X000b
Bit Symbol
Bit Name
Function
RW
When repeat sweep mode 0 is selected
SCAN0
b1 b0
RW
A/D sweep pin select bit
0 0: AN0 to AN1 (2 pins)
0 1: AN0 to AN3 (4 pins)
SCAN1
1 0: AN0 to AN5 (6 pins)
RW
1 1: AN0 to AN7 (8 pins)
MD2
A/D operation mode select
bit 1
Set to 0 in repeat sweep mode 0
RW
—
(b3)
No register bit. If necessary, set to 0. Read as undefined value
—
CKS1 Frequency select bit 1
Refer to the CKS0 bit in the ADCON0
register
RW
ADSTBY A/D standby bit
Set to 1 (A/D operation enabled)
RW
ADEX0
b7 b6
0 0: ANEX0 and ANEX1 are not used
RW
Extension pin select bit 0 1: Do not set
ADEX1
1 0: Do not set
1 1: Do not set
RW
If the ADCON1 register is rewritten during A/D conversion, the conversion result is undefined.
SCAN1-SCAN0 (A/D sweep pin select bit) (b1-b0)
AN0_0 to AN0_7 and AN2_0 to AN2_7 can be used in the same way as AN0 to AN7. Use bits
ADGSEL1 to ADGSEL0 in the ADCON2 register to select the desired group.
A/D conversion start
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
The above diagram applies under the following conditions:
y Bits SCAN1 to SCAN0 in the ADCON1 are set to 01b (AN0 to AN3 (4 pins)).
y Bits ADGSEL1 to ADGSEL0 in the ADCON2 are set to 00b (AN0 to AN7).
Figure 27.10 Operation Example in Repeat Sweep Mode 0
A/D conversion
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 675 of 791