English
Language : 

M32C80 Datasheet, PDF (242/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
17. A/D Converter
A/D0 Control Register 1(1)
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
AD0CON1
Address
039716
Bit
Symbol
Bit Name
After Reset
0016
Function
RW
SCAN0
A/D Sweep Pin
Select Bit(2, 7)
SCAN1
Single sweep mode and repeat sweep mode 0
b1 b0
RW
0 0: AN0, AN1
0 1: AN0 to AN3
1 0: AN0 to AN5
1 1: AN0 to AN7
Repeat sweep mode 1(3)
b1b0
0 0: AN0
RW
0 1: AN0, AN1
1 0: AN0 to AN2
1 1: AN0 to AN3
MD2
BITS
A/D Operating
0: Any mode other than repeat sweep mode 1
Mode Select Bit 1 1: Repeat sweep mode 1
RW
8/10-Bit Mode
0: 8-bit mode
Select Bit
1: 10-bit mode
RW
CKS1
Frequency Select
Bit
(Note 4)
RW
VCUT
VREF Connection
Bit
0: No VREF connection(8)
1: VREF connection
RW
b7 b6
OPA0 External Op-Amp 0 0: ANEX0 and ANEX1 are not used(6) RW
Connection Mode 0 1: Signal into ANEX0 is A/D converted
OPA1 Bit(5)
1 0: Signal into ANEX1 is A/D converted
1 1: External op-amp connection mode RW
NOTES:
1. When the AD0CON1 register is rewritten during the A/D conversion, the conversion result is
indeterminate.
2. The SCAN1 and SCAN0 bit settings are disabled in repeat sweep mode 1.
3. This pin is commonly used in the A/D conversion when the MD2 bit is set to "1".
4. Refer to the note for the CKS0 bit in the AD0CON0 register.
5. In one-shot mode and repeat mode, the OPA1 and OPA0 bits can be set to "012" or "102" only. Do not
set the OPA0 and OPA1 bits to "012" or "102" in other modes.
6. To set the OPA1 and OPA0 bits to "002", set the PSL3_5 bit in PSL3 register to "0" (other than
ANEX0) and the PSL3_6 bit to "0" (other than ANEX1).
7. AVCC=VREF=VCC1, AD input voltage (for AN0 to AN7, ANEX0, ANEX1) ≤ VCC1.
8. Do not set the VCUT bit to "0" during the A/D conversion.
VREF is a reference voltage for AD0 only. The VCUT bit setting does not affect the VREF performance
of the D/A converter.
Figure 17.3 AD0CON1 Register
Rev. 1.00 Nov. 01, 2005 Page 223 of 330
REJ09B0271-0100