Hitachi H8/3032 Series Hardware Manual page 540

Table of Contents

Advertisement

Downloaded from
Elcodis.com
electronic components distributor
ADCSR—A/D Control/Status Register
Bit
7
ADF
ADIE
Initial value
0
Read/Write
R/(W)
*
R/W
Clock select
0 Conversion time = 266 states (maximum)
1 Conversion time = 134 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
Scan mode:
A/D conversion starts and continues, cycling among the selected
channels, until ADST is cleared to 0 by software, by a reset, or by a
transition to standby mode
A/D interrupt enable
0 A/D end interrupt request is disabled
1 A/D end interrupt request is enabled
A/D end flag
0 [Clearing condition]
Read ADF while 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 flag.
6
5
4
3
ADST
SCAN
CKS
0
0
0
0
R/W
R/W
R/W
Channel select 2 to 0
Group
Channel
Selection
Selection
CH2
CH1
CH0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
525
H'E8
A/D
2
1
0
CH2
CH1
CH0
0
0
0
R/W
R/W
R/W
Description
Single Mode
Scan Mode
AN
AN
0
0
AN
AN , AN
1
0
1
AN
AN to AN
2
0
2
AN
AN to AN
3
0
3
AN
AN
4
4
AN
AN , AN
5
4
5
AN
AN to AN
6
4
6
AN
AN to AN
7
4
7

Advertisement

Table of Contents
loading

Table of Contents