Hitachi H8/3664 Hardware Manual page 362

Table of Contents

Advertisement

Bit 7—A/D End Flag (ADF): Indicates the end of A/D conversion.
Bit 7: ADF
0
1
Bit 6—A/D Interrupt Enable (ADIE): Enables or disables the interrupt (ADI) requested at the
end of A/D conversion.
Bit 6: ADIE
0
1
Bit 5—A/D Start (ADST): Starts or stops A/D conversion. The ADST bit remains set to 1 during
A/D conversion. It can also be set to 1 by external trigger input at the ADTRG pin.
Bit 5: ADST
0
1
Bit 4—Scan Mode (SCAN): Selects single mode or scan mode. For further information on
operation in these modes, see section 16.4, Operation. Clear the ADST bit to 0 before switching
the conversion mode.
Bit 4: SCAN
0
1
346
Description
[Clearing condition]
Read ADF when ADF =1, then write 0 in ADF.
[Setting conditions]
Single mode: A/D conversion ends
Scan mode: A/D conversion ends in all selected channels
Description
A/D end interrupt request (ADI) is disabled
A/D end interrupt request (ADI) is enabled
Description
A/D conversion is stopped
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.
Description
Single mode
Scan mode
(Initial value)
(Initial value)
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents