Hitachi H8/329 Series Hardware Manual page 222

Single-chip microcomputer
Table of Contents

Advertisement

The ADCSR is initialized to H'00 at a reset and in the standby modes.
Bit 7—A/D End Flag (ADF): This status flag indicates the end of one cycle of A/D conversion.
Bit 7
ADF
Description
0
To clear ADF, the CPU must read ADF after
it has been set to "1," then write a "0" in this bit.
1
This bit is set to 1 at the following times:
(1) Single mode: when one A/D conversion is completed.
(2) Scan mode: when inputs on all selected channels have been
converted.
Bit 6—A/D Interrupt Enable (ADIE): This bit selects whether to request an A/D interrupt (ADI)
when A/D conversion is completed.
Bit 6
ADIE
Description
0
The A/D interrupt request (ADI) is disabled.
1
The A/D interrupt request (ADI) is enabled.
Bit 5—A/D Start (ADST): The A/D converter operates while this bit is set to "1." This bit can be
set to "1" by the external trigger signal ADTRG.
Bit 5
ADST
Description
0
A/D conversion is halted.
1
(1) Single mode: One A/D conversion is performed. The ADST bit is
automatically cleared to "0" at the end of the conversion.
(2) Scan mode: A/D conversion starts and continues cyclically on the
selected channels until the ADST bit is cleared to "0" by software (or
a reset, or by entry to a standby mode).
213
(Initial value)
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents