276
CHAPTER 14 A/D CONVERTER
A /D Conversion
ADCR
INTAD
ANIn
ANIn
ANIm
ANIm
ANIn
ANIn
ANIm
ANIm
ADM Rewrite
(Start of ANIn Conversion)
ADM Rewrite
(Start of ANIm Conversion)
ADIF is set but ANIm
conversion has not ended
(6) Interrupt request flag (ADIF)
The interrupt request flag (ADIF) is not cleared even if the A/D converter mode register (ADM) is changed.
Caution is therefore required since, if a change of analog input pin is performed during A/D conversion, the
A/D conversion result and ADIF for the analog input before the change may be set just before the ADM rewrite.
If ADIF is read immediately after the ADM rewrite, ADIF will be set regardless of whether A/D conversion of
the analog input after the change has been completed.
When the A/D conversion is stopped and then resumed, clear the ADIF before it is resumed.
Figure 14-11. A/D Conversion End Interrupt Request Generation Timing
Summary of Contents for PD78056F
Page 2: ...2 MEMO ...
Page 14: ...14 MEMO ...
Page 34: ...34 MEMO ...
Page 154: ...154 MEMO ...
Page 170: ...170 MEMO ...
Page 238: ...238 MEMO ...
Page 278: ...278 MEMO ...
Page 432: ...432 MEMO ...
Page 476: ...476 MEMO ...
Page 548: ...548 MEMO ...
Page 564: ...564 MEMO ...
Page 580: ...580 MEMO ...
Page 584: ...584 MEMO ...
Page 592: ...592 MEMO ...