M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 108

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Specifications in this manual are tentative and subject to change
A-D Converter
Figure 1.98: A-D converter-related registers (1)
A-D control register 0 (Note 1)
A-D control register 1 (Note)
b7
b7
0 0
b6
b6
b5
b5
b4
b4
b3
b3
b2
b2
b1
b1
b0
b0
Note: If the A-D control register is rewritten during A-D conversion, the conversion result is
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.
Bit symbol
Bit symbol
SCAN0
SCAN1
ADST
VCUT
Reserved bit
CKS0
CKS1
BITS
CH0
CH1
CH2
MD0
MD1
TRG
MD2
Symbol
ADCON0
Symbol
ADCON1
indeterminate.
indeterminate.
Analog input pin select bit
A-D operation mode
select bit 0
Trigger select bit
A-D conversion start flag
Frequency select bit 0
A-D sweep pin select bit
A-D operation mode
select bit 1
8/10-bit mode select bit
Frequency select bit 1
Vref connect bit
1-108
Bit name
Bit name
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Address
Address
03D6
03D7
16
16
00000XXX
When reset
When reset
b2 b1 b0
When single sweep and repeat sweep
mode 0 are selected
When repeat sweep mode 1 is selected
0 : Any mode other than repeat sweep
1 : Repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
0 : f
1 : f
0 : Vref not connected
1 : Vref connected
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 0 : One-shot mode
0 1 : Repeat mode
1 0 : Single sweep mode
1 1 : Repeat sweep mode 0
0 : Software trigger
1 : AD
0 : f
1 : f
0 : A-D conversion disabled
1 : A-D conversion started
Always set to "0"
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
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
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
3
5
7
2
3
Mitsubishi microcomputers
(4 pins)
(6 pins)
(8 pins)
(3 pins)
(4 pins)
M30240 Group
(Note 2)
(Note 2)
R
R
W
W

Related parts for M30240ECFP