
RL78/G1P
CHAPTER 20 SAFETY FUNCTIONS
R01UH0895EJ0100 Rev.1.00
654
Nov 29, 2019
20.8.1 Invalid memory access detection control register (IAWCTL)
This register is used to control the detection of invalid memory access and RAM/SFR guard function.
IAWEN bit is used in invalid memory access detection function.
The IAWCTL register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 20-12. Format of Invalid Memory Access Detection Control Register (IAWCTL)
Address: F0078H After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
IAWCTL
IAWEN 0 GRAM1
GRAM0 0 GPORT
GINT
GCSC
IAWEN
Note
Control of invalid memory access detection
0
Disable the detection of invalid memory access.
1
Enable the detection of invalid memory access.
Note
Only writing 1 to the IAWEN bit is enabled, not writing 0 to it after setting it to 1.
Remark
By specifying WDTON = 1 for the option byte (watchdog timer operation enable), the invalid memory
access function is enabled even IAWEN = 0.