CHAPTER 15 RESET FUNCTION
User’s Manual U17446EJ3V1UD
252
15.1 Register for Confirming Reset Source
Many internal reset generation sources exist in the 78K0S/KB1+. The reset control flag register (RESF) is used to
store which source has generated the reset request.
RESF can be read by an 8-bit memory manipulation instruction.
Reset signal generation by RESET input or power-on-clear (POC) circuit, and reading RESF clear RESF to 00H.
Figure 15-5. Format of Reset Control Flag Register (RESF)
Address: FF54H After reset: 00H
Note
R
Symbol
7 6 5 4 3 2 1 0
RESF
0 0 0
WDTRF
0 0 0
LVIRF
WDTRF
Internal reset request by watchdog timer (WDT)
0
Internal reset request is not generated, or RESF is cleared.
1
Internal reset request is generated.
LVIRF
Internal reset request by low-voltage detector (LVI)
0
Internal reset request is not generated, or RESF is cleared.
1
Internal reset request is generated.
Note
The value after reset varies depending on the reset source.
Caution Do not read data by a 1-bit memory manipulation instruction.
The status of RESF when a reset request is generated is shown in Table 15-2.
Table 15-2. RESF Status When Reset Request Is Generated
Reset Source
Flag
RESET Input
Reset by POC
Reset by WDT
Reset by LVI
WDTRF Set
(1)
Held
LVIRF
Cleared (0)
Cleared (0)
Held Set
(1)
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...