RL78/G15 CHAPTER 18 OPTION BYTE
R01UH0959EJ0110 Rev.1.10 Page 653 of 765
Mar 7, 2023
18.4 Setting of Option Byte
The user option byte and on-chip debug option byte can be set using the link option in addition to describing to the
source. When doing so, the contents set by using the link option take precedence, even if descriptions exist in the
source, as mentioned below.
A software description example of the option byte setting is shown below.
Enables watchdog timer operation,
Overflow time of watchdog timer is 2
9
/f
IL
,
Stops watchdog timer operation during HALT/STOP mode
Select 2.90 V for rising and 2.84 V for falling for V
SPOR
Use the port function (P125/KR1)
Select 1 MHz as the frequency of the high-speed on-chip oscillator clock
Enables on-chip debug operation
Caution To specify the option byte by using assembly language, use OPT_BYTE as the relocation attribute
name of the CSEG pseudo instruction.