English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (503/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 22 LOW-VOLTAGE DETECTOR
Figure 22-9. Example of Software Processing After Reset Release (1/2)
• If supply voltage fluctuation is 50 ms or less in vicinity of LVI detection voltage
Reset
Initialization
processing <1>
LVI reset
Setting 8-bit timer H1
(to measure 50 ms)
; Check the reset sourceNote
Initialize the port.
; fPRS = Internal high-speed oscillation clock (8.4 MHz (MAX.)) (default)
Source: fPRS (8.4 MHz (MAX.))/212,
Where comparison value = 102: ≅ 50 ms
Timer starts (TMHE1 = 1).
Clearing WDT
Detection
Yes
voltage or higher
(LVIF = 0?)
No
Restarting timer H1
(TMHE1 = 0 → TMHE1 = 1)
; The timer counter is cleared and the timer is started.
No
50 ms have passed?
(TMIFH1 = 1?)
Yes
Initialization
processing <2>
; Setting of division ratio of system clock,
such as setting of timer or A/D converter
Note A flowchart is shown on the next page.
User’s Manual U18698EJ1V0UD
501