Hitachi H8/3048 Hardware Manual page 823

Single-chip microcomputer
Table of Contents

Advertisement

ADCSR—A/D Control/Status Register
www.DataSheet4U.com
Bit
7
ADF
Initial value
0
Read/Write
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:
Scan 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
ADIE
ADST
SCAN
0
0
R/W
R/W
R/W
Channel select 2 to 0
Group
Selection
CH2
0
1
A/D conversion starts; ADST is automatically cleared to 0 when
conversion ends
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
816
H'E8
4
3
2
CKS
CH2
0
0
0
R/W
R/W
Channel
Selection
CH1
CH0
Single Mode
0
0
AN
0
1
AN
1
1
0
AN
2
1
AN
3
0
0
AN
4
1
AN
5
1
0
AN
6
1
AN
7
A/D
1
0
CH1
CH0
0
0
R/W
R/W
Description
Scan Mode
AN
0
AN , AN
0
1
AN to AN
0
2
AN to AN
0
3
AN
4
AN , AN
4
5
AN to AN
4
6
AN to AN
4
7

Advertisement

Table of Contents
loading

Table of Contents