M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 170

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
A-D Converter
Figure 1.20.2. A-D converter-related registers (1)
A-D control register 0 (Note 1)
A-D control register 1 (Note)
b7
b7
b6
b6
b5
b5
b4
b4
b3
b3
b2
b2
b1
b1
b0
b0
Note 1: If the A-D control register is rewritten during A-D conversion, the conversion result is
Note 2: When changing A-D operation mode, set analog input pin again.
Note: If the A-D control register is rewritten during A-D conversion, the conversion result is
Bit symbol
Bit symbol
SCAN0
SCAN1
ADST
VCUT
OPA0
OPA1
CKS0
CKS1
BITS
MD0
MD1
TRG
MD2
CH0
CH1
CH2
Symbol
ADCON0
Symbol
ADCON1
indeterminate.
indeterminate.
Analog input pin select bit
A-D operation mode
select bit 1
External op-amp
connection mode bit
A-D operation mode
select bit 0
Trigger select bit
Frequency select bit 0
A-D sweep pin select bit
8/10-bit mode select bit
Frequency select bit 1
Vref connect bit
A-D conversion start flag
Bit name
Bit name
Address
Address
03D6
03D7
16
16
00000XXX
When reset
When reset
b2 b1 b0
0 0 : One-shot mode
0 1 : Repeat mode
1 0 : Single sweep mode
1 1 : Repeat sweep mode 0
When single sweep and repeat sweep
mode 0 are selected
When repeat sweep mode 1 is selected
0 : 8-bit mode
1 : 10-bit mode
0 : f
1 : f
0 : Vref not connected
1 : Vref connected
b7 b6
0 0 : ANEX0 and ANEX1 are not used
0 1 : ANEX0 input is A-D converted
1 0 : ANEX1 input is A-D converted
1 1 : External op-amp connection mode
0 0 0 : AN
0 0 1 : AN
0 1 0 : AN
0 1 1 : AN
1 0 0 : AN
1 0 1 : AN
1 1 0 : AN
1 1 1 : AN
b4 b3
0 : A-D conversion disabled
1 : A-D conversion started
0 : Any mode other than repeat sweep
1 : Repeat sweep mode 1
0 : Software trigger
1 : AD
0 : f
1 : f
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
b1 b0
00
mode 1
AD
AD
AD
AD
Repeat sweep mode 1
16
/2 or f
TRG
/4 is selected
/2 is selected
is selected
0
0
0
0
0
0
0
0
0
1
2
3
4
5
6
7
2
, AN
, AN
trigger
to AN
to AN
to AN
(1 pin)
to AN
to AN
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
is selected
is selected
is selected
is selected
is selected
is selected
is selected
is selected
AD
/4 is selected
1
1
Function
(2 pins)
(2 pins)
Function
2
3
3
5
7
(3 pins)
(4 pins)
(4 pins)
(6 pins)
(8 pins)
(Note 2)
(Note 2)
Mitsubishi microcomputers
M16C / 62 Group
R
R
W
W
155

Related parts for M30622MA-XXXFP