m37905 Renesas Electronics Corporation., m37905 Datasheet - Page 340

no-image

m37905

Manufacturer Part Number
m37905
Description
Mitsubishi 16-bit Single-chip Microcomputer 7700 Family / 7900 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m37905F8CSP
Manufacturer:
MIT
Quantity:
20 000
performed, one at a time. The operation is performed in ascending sequence from pin AN
A-D conversion interrupt request occurs when the operations for all selected analog input pins are completed.
12.9 Single sweep mode
In the single sweep mode, the operation for the input voltages from multiple selected analog input pins are
This mode can be used with analog input pins AN
Fig. 12.9.1 Initial setting example for related registers in single sweep mode (1)
12.9.1 Settings for single sweep mode
Figures 12.9.1 and 12.9.2 show initial setting examples for related registers in the single sweep mode.
When using an interrupt, it is necessary to set the related registers to enable an interrupt. Refer to
“CHAPTER 6. INTERRUPTS” for more details.
Selection of comparator function
b7
A-D control registers 0, 1, and 2
b7
b7
b7
0
0
0
0
0
0
0
0 0
1 0
7905 Group User’s Manual Rev.1.0
0
Continued on Figure 12.9.2.
b0
b0
b0
b0
AN
AN
AN
AN
AN
AN
AN
AN
Single sweep mode
A-D conversion frequency ( AD) select bit 0
A-D conversion start bit
Comparator function select register 0
(Address DC
0
1
2
3
4
5
6
7
A-D control register 2
(Address DB
A-D control register 1
(Address 1F
Analog input pin select bits 1
A-D sweep pin select bits
A-D control register 0
(Address 1E
See Table 12.2.1.
0 : A-D conversion halts.
Resolution select bit
A-D conversion frequency (
V
REF
See Table 12.2.1.
b1 b0
0 : 8-bit resolution mode
1 : 10-bit resolution mode
b3
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
0 : Pin V
0 X X X : AN
j
b2
0 : Comparator function is not selected
1 : Comparator function is selected.
(j = 0 to 7).
connection select bit
b1 b0
0
0
0
0
REF
, AN
to AN
to AN
to AN
16
16
16
16
0
)
connected
)
)
)
1
to AN
(2 pins)
3
5
7
: It may be either “0” or “1.”
(4 pins)
(6 pins)
(8 pins)
7
selected
AD
) select bit 1
A-D CONVERTER
12.9 Single sweep mode
0
to pin AN
12-29
7
. An

Related parts for m37905