Renesas R8C/18 Series Hardware Manual page 199

16-bit single-chip mcu
Table of Contents

Advertisement

R8C/18 Group, R8C/19 Group
Flash Memory Control Register 4
b7 b6 b5 b4
b3 b2
b1 b0
0
NOTES:
1.
To set this bit to 1, set it to 1 immediately after setting it first to 0. Do not generate an interrupt betw een setting the bit
to 0 and setting it to 1.
2.
This bit is enabled w hen the FMR40 bit is set to 1 (enable) and it can be w ritten to during the period betw een issuing
an erase command and completing the erase. (This bit is set to 0 during the periods other than the above.)
In EW0 mode, it can be set to 0 and 1 by a program.
In EW1 mode, it is automatically set to 1 if a maskable interrupt is generated during an erase operation w hile the
FMR40 bit is set to 1. Do not set this bit to 1 by a program (0 can be w ritten).
3.
The FMR42 bit is enabled only w hen the FMR40 bit is set to 1 (enable) and programming to the FMR42 bit is enabled
until auto-programming ends after a program command is generated. (This bit is set to 0 during periods other than the
above.)
In EW0 mode, 0 or 1 can be programmed to the FMR42 bit by a program.
In EW1 mode, the FMR42 bit is automatically set to 1 by generating a maskable interrupt during auto-programming
w hen the FMR40 bit is set to 1. 1 cannot be w ritten to the FMR42 bit by a program.
4.
Use this mode only in low -speed on-chip oscillator mode.
Figure 17.7
FMR4 Register
Rev.1.30
Apr 14, 2006
REJ09B0222-0130
Symbol
Address
01B3h
FMR4
Bit Symbol
Bit Name
Erase-suspend function
FMR40
(1)
enable bit
Erase-suspend request bit
FMR41
Program-suspend request bit
FMR42
Erase command flag
FMR43
Program command flag
FMR44
Reserved bit
(b5)
Read status flag
FMR46
Low -pow er consumption read
FMR47
(1, 4)
mode enable bit
Page 184 of 233
After Reset
01000000b
Function
0 : Disable
1 : Enable
(2)
0 : Erase restart
1 : Erase-suspend request
(3)
0 : Program restart
1 : Program-suspend request
0 : Erase not executed
1 : Erase execution in progress
0 : Program not executed
1 : Program execution in progress
Set to 0.
0 : Disables reading.
1 : Enables reading.
0 : Disable
1 : Enable
17. Flash Memory Version
RW
RW
RW
RW
RO
RO
RO
RO
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

R8c/1 seriesR8c seriesR8c/19 series

Table of Contents