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

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
Table 1.20.6. Repeat sweep mode 1 specifications
Figure 1.20.8. A-D conversion register in repeat sweep mode 1
(5) Repeat sweep mode 1
Function
Start condition
Stop condition
Interrupt request generation timing
Input pin
Reading of result of A-D converter
In repeat sweep mode 1, all pins are used for A-D conversion with emphasis on the pin or pins selected
using the A-D sweep pin select bit. Table 1.20.6 shows the specifications of repeat sweep mode 1. Figure
1.20.8 shows the A-D control register in repeat sweep mode 1.
Item
A-D control register 0 (Note)
A-D control register 1 (Note 1)
b7
b7
b6
b6
b5
b5
1
b4
1 1
b4
b3
b3
b2
b2
1
b1
b1
All pins perform repeat sweep A-D conversion, with emphasis on the pin or
pins selected by the A-D sweep pin select bit
Example : AN
Writing “1” to A-D conversion start flag
Writing “0” to A-D conversion start flag
None generated
AN
Read A-D register corresponding to selected pin (at any time)
b0
b0
Note: If the A-D control register is rewritten during A-D conversion, the conversion result
Note 1: If the A-D control register is rewritten during A-D conversion, the conversion result
Note 2: Neither ‘01’ nor ‘10’ can be selected with the external op-amp connection mode bit.
Bit symbol
Bit symbol
0
SCAN0
SCAN1
OPA0
OPA1
CKS1
VCUT
BITS
ADST
CKS0
MD2
(1 pin), AN
MD0
MD1
TRG
CH0
CH1
CH2
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 operation mode
select bit 1
8/10-bit mode select bit
Frequency select bit 1
Vref connect bit
External op-amp
connection mode
bit (Note 2)
A-D sweep pin select bit
0
selected
0
Bit name
Bit name
and AN
Address
Address
03D7
03D6
16
16
1
AN
(2 pins), AN
00000XXX
When reset
When reset
When repeat sweep mode 1 is selected
1 : Repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
0 : f
1 : f
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
Invalid in repeat sweep mode 1
b4 b3
1 1 : Repeat sweep mode 1
0 : Software trigger
1 : AD
0 : A-D conversion disabled
1 : A-D conversion started
0 : f
1 : f
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
b1 b0
Specification
0
00
AD
AD
AD
AD
16
/2 or f
/4 is selected
/2 is selected
TRG
is selected
0
0
0
0
AN
, AN
(1 pin)
to AN
to AN
trigger
2
AD
1
/4 is selected
1
(2 pins)
2
3
0
(3 pins)
(4 pins)
to AN
Function
Function
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
AN
0
2
(3 pins), AN
AN
2
AN
R
R
0
Mitsubishi microcomputers
M16C / 62 Group
W
to AN
W
0
AN
3
(4 pins)
3
, etc
161

Related parts for M30622MA-XXXFP