RL78/G1D
25.1 Functions of Option Bytes
Addresses 000C0H to 000C3H of the flash memory of the RL78/G1D form an option byte area.
Option bytes consist of user option byte (000C0H to 000C2H) and on-chip debug option byte (000C3H).
Upon power application or resetting and starting, an option byte is automatically referenced and a specified function is
set. When using the product, be sure to set the following functions by using the option bytes.
For the bits to which no function is allocated, do not change their initial values.
To use the boot swap operation during self programming, 000C0H to 000C3H are replaced by 010C0H to 010C3H.
Therefore, set the same values as 000C0H to 000C3H to 010C0H to 010C3H.
Caution
The option bytes should always be set regardless of whether each function is used.
25.1.1 User option byte (000C0H to 000C2H/010C0H to 010C2H)
(1) 000C0H/010C0H
○
Setting of watchdog timer operation
● Enabling or disabling of counter operation
● Enabling or disabling of counter operation in the HALT or STOP mode
○
Setting of interval time of watchdog timer
○
Setting of window open period of watchdog timer
○
Setting of interval interrupt of watchdog timer
● Whether or not to use the interval interrupt is selectable.
Caution Set the same value as 000C0H to 010C0H when the boot swap operation is used because
000C0H is replaced by 010C0H.
(2) 000C1H/010C1H
○
Setting of LVD operation mode
● Interrupt & reset mode.
● Reset mode.
● Interrupt mode.
● LVD off (by controlling the externally input reset signal on the RESET pin)
○
Setting of LVD detection level (V
Cautions 1. After power is supplied, the reset state must be retained until the operating voltage
becomes in the range defined in 30.6 AC Characteristics. This is done by utilizing the
voltage detection circuit or controlling the externally input reset signal. After the power
supply is turned off, this LSI should be placed in the STOP mode, or placed in the reset
state by utilizing the voltage detection circuit or controlling the externally input reset
signal, before the voltage falls below the operating range. The range of operating voltage
varies with the setting of the user option byte (000C2H or 010C2H).
2. Set the same value as 000C1H to 010C1H when the boot swap operation is used because
000C1H is replaced by 010C1H.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
CHAPTER 25 OPTION BYTE
, V
, V
)
LVDH
LVDL
LVD
CHAPTER 25 OPTION BYTE
754