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

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Preliminary Specifications REV. E
Specifications in this manual are tentative and subject to change
A-D Converter
Table 1.35:
Figure 1.103: A-D conversion register in repeat sweep mode 0
Function
Start condition
Stop condition
Interrupt request generation timing
Input pin
Reading of result of A-D converter
2.24.4 Repeat sweep mode 0
In repeat sweep mode 0, the pins selected using the A-D sweep pin select bit are used for repeat
sweep A-D conversion. Table 1.35 shows the specifications of repeat sweep mode 0. Figure 1.103
shows the A-D control register in repeat sweep mode 0.
Repeat sweep mode 0 specifications
Item
A-D control register 0 (Note)
A-D control register 1 (Note)
b7
b7
0 0
b6
b6
1
b5
b5
b4
b4
1 1
b3
b3
b2
b2
0
b1
b1
b0
b0
Note: If the A-D control register is rewritten during A-D conversion, the conversion result
Note: If the A-D control register is rewritten during A-D conversion, the conversion result
Bit symbol
Bit symbol
The pins selected by the A-D sweep pin select bit are used for repeat sweep A-D
conversion
Writing “1” to A-D conversion start flag
Writing “0” to A-D conversion start flag
None generated
AN0 and AN1 (2 pins), AN0 to AN3 (4 pins), AN0 to AN5 (6 pins), or AN0 to AN7
(8 pins)
Read A-D register corresponding to selected pin (at any time)
SCAN0
SCAN1
CKS1
VCUT
BITS
Reserved bit
ADST
CKS0
MD2
CH0
CH1
CH2
MD0
MD1
TRG
Symbol
ADCON0
Symbol
ADCON1
is indeterminate.
is 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-113
Bit name
Bit name
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Address
Address
03D6
03D7
16
16
00000XXX
When reset
When reset
Always set to "0"
When single sweep and repeat sweep mode 0
are selected
0 : Any mode other than repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
0 : f
1 : f
1 : Vref connected
Invalid in repeat sweep mode 0
b4 b3
1 1 : Repeat sweep mode 0
0 : Software trigger
1 : AD
0 : A-D conversion disabled
1 : A-D conversion started
0 : f
1 : f
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
00
AD
AD
AD
AD
16
/2 or f
/4 is selected
/2 is selected
TRG
is selected
0
0
0
0
Specification
, AN
to AN
to AN
to AN
trigger
2
AD
1
/4 is selected
(2 pins)
3
5
7
(4 pins)
(6 pins)
(8 pins)
Function
Function
Mitsubishi microcomputers
M30240 Group
R
R
W
W

Related parts for M30240ECFP