Hitachi H8/3937 Series Hardware Manual page 336

Table of Contents

Advertisement

6. The A/D interrupt handling routine ends.
If ADSF is set to 1 again afterward, A/D conversion starts and steps 2 through 6 take place.
Figures 11-4 and 11-5 show flow charts of procedures for using the A/D converter.
Interrupt
(IRRAD)
IENAD
A/D conversion starts
ADSF
Channel 1 (AN
)
Idle
1
operation state
ADRRH
ADRRL
Note:
( ) indicates instruction execution by software.
*
Figure 11-3 Typical A/D Converter Operation Timing
324
Set *
Set *
A/D conversion (1)
Idle
A/D conversion result (1)
Set *
A/D conversion (2)
Read conversion result
Idle
Read conversion result
A/D conversion result (2)

Advertisement

Table of Contents
loading

Table of Contents