142
CHAPTER 10 A/D CONVERTER
User’s Manual U15104EJ2V0UD
Figure 10-9. A/D Conversion Operation in Power-Fail Comparison Mode (1/3)
(1) In normal mode (other than HALT mode)
Notes 1. The conversion data is undefined immediately after bit 7 (ADCS3) of A/D converter mode register
3 (ADM3) is set to 1 (to start conversion).
2. The first result of the A/D conversion (A/D conversion result and interrupt request) is not correct.
Do not use this result because there is a possibility that it will be determined that the comparison
condition has matched even if it has not.
Caution
Set power-fail comparison threshold value register 3 (PFT3) and power-fail comparison
mode register 3 (PFM3) before starting conversion. Be sure to reset bit 5 (PFHRM3) of PFM3
to 0 (to disable HALT repeat mode setting).
Remark
n = 0, 1, ... 5
m = 0, 1, ... 5
Conversion starts
ADCS3 = 1
ADS3 rewrite
ADM3 rewrite
ADCS3 = 0
A/D conversion
ADCR3
PFT3, PFM3
set
conversion
stopped
Stop
Stop
Comparison
condition does
not match
Note 2
Comparison
condition
matches
ANIn
ANIn
ANIn
ANIn
ANIm
ANIm
Unde-
fined
Note 1
ANIn
ANIn
ANIm
INTAD3
(when PFEN3 = 1)
Comparison
condition does
not match