(3) One-shot select mode
In this mode, the result of converting the voltage of one analog input pin specified by the ADA0S register is
compared with the set value of the ADA0PFT register. If the result of power-fail compare matches the
condition set by the ADA0PFC bit of the ADA0PFM register, the conversion result is stored in the ADA0CRn
register, and the INTAD signal is generated. If it does not match, the conversion result is stored in the
ADA0CRn register, and the INTAD signal is not generated. Conversion is stopped after it has been completed.
Figure 13-10. Timing Example of One-Shot Select Mode Operation
(When Power-Fail Compare Is Made: ADA0S Register = 01H)
ANI1
A/D
conversion
ADA0CR1
INTAD
Conversion start
Set ADA0CE bit = 1
CHAPTER 13 A/D CONVERTER
Data
1
Data
2
Data 1
(ANI1)
Data 1
(ANI1)
ADA0PFT
unmatch
Conversion end
Preliminary User's Manual U16541EJ1V0UM
Data
4
Data
5
Data
3
Conversion start
Set ADA0CE bit = 1
Data
6
Data
7
Data 6
(ANI1)
Data 6
(ANI1)
ADA0PFT match
Conversion end
365