Renesas 7700 FAMILY User Manual page 463

Mitsubishi 16-bit single-chip microcomputer
Table of Contents

Advertisement

APPENDIX
Appendix 3. Control registers
A-D control register 1
b7
b6
b5
b4
b3
b2
20–12
b1
b0
A-D control register 1 (Address 1F
Bit
A-D sweep pin select bits
0
(Valid in single sweep, repeat sweep
mode 0 and repeat sweep mode 1)
(Note 1)
1
A-D operation mode select bit 1
2
(Use in repeat sweep mode 0
and repeat sweep mode 1)
(Note 4)
3
8/10-bit mode select bit
A-D conversion frequency
4
(
) select bit 1
AD
Nothing is assigned.
7 to 5
Notes 1: These bits are invalid in the one-shot and repeat modes. (They may be either "0" or
"1.")
2: When selecting an external trigger, the AN
pin.
3: Analog input pins which are frequently A-D converted are selected in the repeat
sweep mode 1.
4: Fix this bit to "0" in the one-shot, repeat, and single sweep modes.
5: Writing to each bit of the A-D control register 1 must be performed while the A-D
converter halts.
7751 Group User's Manual
)
16
Bit name
Single sweep mode/Repeat sweep
mode 0
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
Repeat sweep mode 1 (Note 3)
b1 b0
0 0 : AN
0 1 : AN
1 0 : AN
1 1 : AN
0 : Repeat sweep mode 0
1 : Repeat sweep mode 1
0 : 8-bit mode
1 : 10-bit mode
Refer to A-D conversion frequency
(
) select bit 0 (bit 7 at address
AD
1E
)
16
Functions
, AN
(2 pins)
0
1
to AN
(4 pins)
0
3
to AN
(6 pins)
0
5
to AN
(8 pins) (Note 2)
0
7
(1 pin)
0
, AN
(2 pins)
0
1
to AN
(3 pins)
0
2
to AN
(4 pins)
0
3
Undefined
pin cannot be used as an analog input
7
RW
At reset
1
RW
1
RW
0
RW
0
RW
RW
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

7751 series

Table of Contents