320
Figures 12.4 and 12.5 show flow charts of procedures for using the A/D converter.
Idle
A/D conversion (1)
Idle
A/D conversion (2)
Idle
Interrupt
(IRRAD)
IENAD
ADSF
Channel 1 (AN
1
)
operation state
ADRRH
ADRRL
Set
*
Set
*
Set
*
Read conversion result
Read conversion result
A/D conversion result (1)
A/D conversion result (2)
A/D conversion starts
Note: ( ) indicates instruction execution by software.
*
Figure 12.3 Typical A/D Converter Operation Timing