English
Language : 

M306H7MG-XXXFP Datasheet, PDF (176/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER
M306H7MG-XXXFP/MC-XXXFP/FGFP
12. A/D CONVERTER
A/D control register 0 (Note)
b7 b6 b5 b4 b3 b2 b1 b0
11
Symbol
ADCON0
Address
03D616
After reset
00000XXX2
Bit symbol
Bit name
Function
RW
CH0
Analog input pin
select bit
Invalid in repeat sweep mode 1
RW
CH1
RW
CH2
RW
MD0
A/D operation mode
b4 b3
1 1 : Repeat sweep mode 0 or
RW
MD1
select bit 0
Repeat sweep mode 1
RW
TRG
Trigger select bit
0 : Software trigger
RW
1 : ADTRG trigger
ADST
A/D conversion start flag 0 : A/D conversion disabled
1 : A/D conversion started
RW
CKS0 Frequency select bit 0
See Note 2 for the ADCON2 register
RW
Note: If the ADCON0 register is rewritten during A/D conversion, the conversion result will be indeterminate.
A/D control register 1 (Note 1)
b7 b6 b5 b4 b3 b2 b1 b0
1 01
Symbol
ADCON1
Address
03D716
After reset
0016
Bit symbol
Bit name
Function
RW
SCAN0
A/D sweep pin select bit When repeat sweep mode 1 is selected
b1 b0
RW
0 0 : AN0 (1 pin)
SCAN1
0 1 : AN0, AN1 (2 pins)
1 0 : AN0 to AN2 (3 pins)
RW
1 1 : AN0 to AN3 (4 pins)
MD2
A/D operation mode
select bit 1
Set to “1” when repeat sweep mode 1 is
selected
RW
(b3)
Reserved bit
Must always be set to “0”
RW
CKS1
Frequency select bit 1
See Note 2 for the ADCON2 register
RW
VCUT Vref connect bit (Note 2) 1 : Vref connected
RW
OPA0
External op-amp
connection mode
b7 b6
0 0 : ANEX0 and ANEX1 are not used
RW
bit
0 1 : Must not be set
OPA1
1 0 : Must not be set
1 1 : External op-amp connection mode
RW
Note 1: If the ADCON1 register is rewritten during A/D conversion, the conversion result will be indeterminate.
Note 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 12.8 ADCON0 Register and ADCON1 Register (Repeat Sweep Mode 1)
Rev.2.10 Oct 25, 2006 Page 176 of 326
REJ03B0152-0210