Renesas RL78/G1P Hardware User Manual page 686

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
22.4 Setting of Option Byte
The user option byte and on-chip debug option byte can be set using the assembler linker option, in addition to
describing to the source. When doing so, the contents set by using the linker 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.
OPT
CSEG
DB
DB
DB
DB
Caution To specify the option byte by using assembly language, use OPT_BYTE as the relocation attribute
name of the CSEG pseudo instruction.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
OPT_BYTE
; Does not use interval interrupt of watchdog timer,
36H
; Enables watchdog timer operation,
; Window open period of watchdog timer is 50%,
; Overflow time of watchdog timer is 2
; Stops watchdog timer operation during HALT/STOP mode
; Select 2.75 V for V
7AH
; Select rising edge 1.77 V, falling edge 2.86 V for V
; Select the interrupt & reset mode as the LVD operation mode
; Select the LS (low-speed main) mode as the flash operation mode
ADH
and 1 MHz as the frequency of the high-speed on-chip oscillator
; Enables on-chip debug operation, does not erase flash memory
85H
data when security ID authorization fails
CHAPTER 22 OPTION BYTE
9
/f
,
IL
LVDL
LVDH
667

Advertisement

Table of Contents
loading

Table of Contents