Chapter 24 Option Byte - NEC MuPD78F0132H User Manual

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

The 78K0/KE1+ has an area called an option byte at address 0080H of the flash memory. When using the
product, be sure to set the following functions by using the option byte.
Ring-OSC oscillation
• Can be stopped by software.
• Cannot be stopped.
Flash memory
0 0 8 0 H
0 0 0 0 H
Address: 0080H
7
0
RINGOSC
0
1
Cautions 1. To use the boot swap function, be sure to store the option data in the boot cluster 1 (for the
boot swap function, see 26.9 Boot Swap Function).
2. Be sure to clear bits 1 to 7 to 0.
Remark An example of software coding for setting the option bytes is shown below.
OPT
CSEG
OPTION:
DB
418

CHAPTER 24 OPTION BYTE

Figure 24-1. Allocation of Option Byte
Figure 24-2. Format of Option Byte
6
5
0
0
Can be stopped by software
Cannot be stopped
AT 0080H
03H
; Set to option byte (Ring-OSC cannot be stopped)
User's Manual U16899EJ2V0UD
Option byte
0
0
0
0
4
3
0
0
Ring-OSC oscillation
0
0
0
RINGOSC
2
1
0
0
0
RINGOSC

Advertisement

Table of Contents
loading

Table of Contents