English
Language : 

M306H7MG-XXXFP Datasheet, PDF (174/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 0
RW
CH1
RW
CH2
RW
MD0
MD1
A/D operation mode
select bit 0
b4 b3
1 1 : Repeat sweep mode 0 or
Repeat sweep mode 1
RW
RW
TRG
Trigger select bit
0 : Software trigger
1 : ADTRG trigger
RW
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 00
Symbol
ADCON1
Address
03D716
After reset
0016
Bit symbol
Bit name
Function
RW
A/D sweep pin select bit When repeat sweep mode 0 is selected
SCAN0
RW
b1 b0
0 0 : AN0, AN1 (2 pins)
SCAN1
0 1 : AN0 to AN3 (4 pins)
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” when repeat sweep mode 0 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
OPA1
External op-amp
connection mode
bit
b7 b6
0 0 : ANEX0 and ANEX1 are not used
0 1 : Must not be set
1 0 : Must not be set
1 1 : External op-amp connection mode
RW
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.7 ADCON0 Register and ADCON1 Registers (Repeat Sweep Mode 0)
Rev.2.10 Oct 25, 2006 Page 174 of 326
REJ03B0152-0210