Hitachi H8/3062 Hardware Manual page 888

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

ADCSR—A/D Control/Status Register
7
6
Bit
ADF
ADIE
Initial value
0
0
Read/Write
R/(W)*
R/W
A/D interrupt enable
0
1
A/D end flag
[Clearing condition]
0
Read ADF when ADF = 1, then write 0 in ADF
1
[Setting conditions]
• Single mode: A/D conversion ends
• Scan mode: A/D conversion ends in all selected channels
Note: * Only 0 can be written to clear the flag.
5
4
3
ADST
SCAN
CKS
0
0
0
R/W
R/W
R/W
Clock select
Conversion time =
0
134 states (maximum)
Conversion time =
1
70 states (maximum)
Scan mode
0
Single mode
1
Scan mode
A/D start
0
A/D conversion is stopped
1. Single mode: A/D conversion starts; ADST is automatically cleared to 0 when conversion ends
1
2. Scan mode: A/D conversion starts and continues, cycling among the selected channels ADST
is cleared to 0 by software, by a reset, or by a transition to standby mode
A/D end interrupt request is disabled
A/D end interrupt request is enabled
H'FFFE8
2
1
0
CH2
CH1
CH0
0
0
0
R/W
R/W
R/W
Channel select 2 to 0
Group Selection
Channel Selection
CH2
CH1 CH0
0
0
1
0
1
1
A/D
Description
Single Mode
Scan Mode
0
AN
AN
0
0
1
AN
AN
AN
1
0,
1
0
AN
AN
to AN
2
0
1
AN
AN
to AN
3
0
0
AN
AN
4
4
1
AN
AN
AN
5
4,
5
0
AN
AN
to AN
6
4
1
AN
AN
to AN
7
4
2
3
6
7
873

Advertisement

Table of Contents
loading

Table of Contents