Hitachi F-ZTAT H8/3039 Series Hardware Manual page 653

Single-chip microcomputer
Table of Contents

Advertisement

ADCSR—A/D Control/Status Register
Bit
Initial value
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:
Scan mode:
Note: * Only 0 can be written to clear flag.
7
6
ADF
ADIE
ADST
0
0
R/W
*
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
A/D conversion ends
A/D conversion ends in all selected channels
5
4
SCAN
0
0
R/W
R/W
Channel select 2 to 0
Group
Channel
Selection
Selection
CH2
CH1
0
0
1
1
0
1
H'E8
3
2
CKS
CH2
0
0
R/W
R/W
Description
CH0
Single Mode
0
AN
0
1
AN
1
0
AN
2
1
AN
3
0
AN
4
1
AN
5
0
AN
6
1
AN
7
A/D
1
0
CH1
CH0
0
0
R/W
R/W
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
647

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents