RL78/G1P
CHAPTER 17 RESET FUNCTION
R01UH0895EJ0100 Rev.1.00
615
Nov 29, 2019
Table 17-2. Hardware Statuses After Reset Acknowledgment (3/3)
Hardware
Status After Reset
Acknowledgment
Note 1
Reset function
Reset control flag register (RESF)
Undefined
Note 2
Voltage detector (LVD)
Voltage detection register (LVIM)
00H
Note 2
Voltage detection level register (LVIS)
00H/01H/81H
Notes 2, 3
DMA controller
SFR address registers 0, 1 (DSA0, DSA1)
00H
RAM address registers 0, 1 (DRA0, DRA1)
0000H
Byte count registers 0, 1 (DBC0, DBC1)
0000H
Mode control registers 0, 1 (DMC0, DMC1)
00H
Operation control registers 0, 1 (DRC0, DRC1)
00H
ELC
Event output select registers 00 to 09 (ELSELR00 to ELSELR09)
00H
Interrupt
Request flag registers 0L, 0H, 1L (IF0L, IF0H, IF1L)
00H
Mask flag registers 0L, 0H, 1L (MK0L, MK0H, MK1L)
FFH
Priority specification flag registers 00L, 00H, 01L, 10L, 10H, 11L (PR00L,
PR00H, PR01L, PR10L, PR10H, PR11L)
FFH
External interrupt rising edge enable register 0 (EGP0)
00H
External interrupt falling edge enable register 0 (EGN0)
00H
Safety functions
Flash memory CRC control register (CRC0CTL)
00H
Flash memory CRC operation result register (PGCRCL)
0000H
CRC input register (CCRIN)
00H
CRC data register (CRCD)
0000H
Invalid memory access detection control register (IAWCTL)
00H
RAM parity error control register (RPECTL)
00H
Flash memory
Data flash control register (DFLCTL)
00H
BCD correction circuit
BCD correction result register (BCDAJ)
Undefined
Notes 1.
During reset signal generation or oscillation stabilization time wait, only the PC contents among the hardware
statuses become undefined. All other hardware statuses remain unchanged after reset.
2.
These values vary depending on the reset source.
Reset Source
Register
RESET Input
Reset by
POR
Reset by
Execution of
Illegal Instruction
Reset by
WDT
Reset by RAM
Parity Error
Reset by
Illegal-memory
Access
Reset by
LVD
RESF
TRAP bit
Cleared (0)
Set (1)
Held
Held
WDTRF bit
Held
Set (1)
Held
RPERF bit
Held
Set (1)
Held
IAWRF bit
Held
Set (1)
LVIRF bit
Held
Set (1)
LVIM
LVISEN bit
Cleared (0)
Held
LVIOMSK bit
Held
LVIF bit
LVIS Cleared
(00H/01H/81H)
3.
The generation of reset signal other than an LVD reset sets as follows.
When option byte LVIMDS1, LVIMDS0 = 1, 0: 00H
When option byte LVIMDS1, LVIMDS0 = 1, 1: 81H
When option byte LVIMDS1, LVIMDS0 = 0, 1: 01H