RL78/I1D
Operation state switching IAR
R01AN3597EJ0100 Rev.1.00
Page 7 of 42
Jan. 31, 2017
4.2. Setting of option byte
Table 4.2 shows the setting of option byte. Please set the appropriate value to fit the different system.
Table 4.2
Optional byte setting
Address
Set value
Content
000C0H/010C0H
11101111B
Watch dog timer operation stop
(count stop after reset)
000C1H/010C1H
11111111B
LVD off
000C2H/010C2H
00101011B
LV mode, High-speed on-chip oscillator : 4MHz
000C3H/010C3H
10000100B
On chip debug enable
4.3. List of Constants
Table 4.3 lists the constants that are used in the sample program.
Table 4.3
Constants for the Sample Program
Constant
Setting
Description
_00_TRANSITION_STATUS_0
00H
Transition status 0
_01_TRANSITION_STATUS_1
01H
Transition status 1
_02_TRANSITION_STATUS_2
02H
Transition status 2
_03_TRANSITION_STATUS_3
03H
Transition status 3
_04_TRANSITION_STATUS_4
04H
Transition status 4
_05_TRANSITION_STATUS_5
05H
Transition status 5
_06_TRANSITION_STATUS_6
06H
Transition status 6
_07_TRANSITION_STATUS_7
07H
Transition status 7
_00_FLASHMODE_LV
00H
LED control status (LV mode)
_01_FLASHMODE_LS_0
01H
LED control status (LS(normal) mode)
_02_FLASHMODE_LS_1
02H
LED control status (LS (low consumption) mode)
_04_FLASHMODE_HS
04H
LED control status (HS mode)
_08_FLASHMODE_LP
08H
LED control status (LP mode)
_10_FLASHMODE_HS_ERROR
10H
LED control status (HS error mode)