English
Language : 

M306H7MG-XXXFP Datasheet, PDF (168/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 1)
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
ADCON0
Address
03D616
After reset
00000XXX2
Bit symbol
Bit name
Function
RW
CH0
CH1
CH2
Analog input pin select
bit
b2 b1 b0
0 0 0 : AN0 is selected
0 0 1 : AN1 is selected
0 1 0 : AN2 is selected
0 1 1 : AN3 is selected
1 0 0 : AN4 is selected
1 0 1 : AN5 is selected
1 1 0 : AN6 is selected
1 1 1 : AN7 is selected
RW
RW
RW
(Note 2)
MD0
MD1
TRG
A/D operation mode
select bit 0
Trigger select bit
b4 b3
0 0 : One-shot mode
0 : Software trigger
1 : ADTRG trigger
(Note 2) RW
RW
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 1: If the ADCON0 register is rewritten during A/D conversion, the conversion result will be indeterminate.
Note 2: After rewriting the MD1 to MD0 bits, set the CH2 to CH0 bits over again using another instruction.
A/D control register 1 (Note)
b7 b6 b5 b4 b3 b2 b1 b0
1 00
Symbol
ADCON1
Address
03D716
After reset
0016
Bit symbol
Bit name
SCAN0
SCAN1
A/D sweep pin
select bit
MD2
A/D operation mode
select bit 1
(b3)
Reserved bit
Function
RW
Invalid in one-shot mode
RW
RW
Set to “0” when one-shot mode is selected RW
Must always be set to “0”
RW
CKS1 Frequency select bit1 See Note 2 for the ADCON2 register
RW
VCUT Vref connect bit (Note 2) 1 : Vref connected
RW
OPA0
External op-amp
connection mode bit
b7 b6
0 0 : ANEX0 and ANEX1 are not used
0 1 : ANEX0 input is A/D converted
RW
OPA1
1 0 : ANEX1 input is A/D converted
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.4 ADCON0 Register and ADCON1 Register (One-shot Mode)
Rev.2.10 Oct 25, 2006 Page 168 of 326
REJ03B0152-0210