RL78/F13, F14 CHAPTER 14 COMPARATOR (RL78/F14 Only)
R01UH0368EJ0210 Rev.2.10 791
Dec 10, 2015
Figure 14-14. Comparator Operation Termination Flowchart
(when Using the Timer RD Operation by the ELC Event)
Set timer RD to stop.
Operation termination start
Cancel ELC link.
Set CEGP and CEGN.
CPOE 0
COE 0
End
Cancel ELC link from comparator to timer RD.
Set comparator operation at rising/falling edges.
Disable edge detection.
Disable comparator pin output.
Disable comparator output.
Stop timer RD operation.