Flash Memory Control Status Register (Fmcs) - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

28.4

Flash Memory Control Status Register (FMCS)

The flash memory control status register (FMCS), together with the flash memory
interface circuit, is used to write data to and erase data from the flash memory.
■ Flash Memory Control Status Register (FMCS)
Address: 0000AE
H
Explanation of bits
[bit7] INTE (interrupt enable)
This bit generates an interrupt to the CPU when flash memory write/erase terminates.
An interrupt to the CPU is generated when the INTE and RDYINT bits are "1". No interrupt is
generated when the INTE bit is "0".
"0": Disables interrupts when write/erase terminates.
"1": Enables interrupts when write/erase terminates.
[bit6] RDYINT (ready interrupt)
This bit indicates the operating state of the flash memory.
This bit is set to "1" when flash memory write/erase terminates. Data cannot be written to or erased
from the flash memory while this bit is "0" after a flash memory write/erase. Flash memory write/erase
is enabled when write/erase terminates and this bit is set to "1".
Writing "0" clears this bit to "0". Writing "1" is ignored. This bit is set to "1" at the termination timing
of the flash memory automatic algorithm (see Section "28.5 Starting the Flash Memory Automatic
Algorithm"). When the read-modify-write (RMW) instruction is used, "1" is always read.
"0": Write/erase is being executed.
"1": Write/erase has terminated (interrupt request generated).
[bit5] WE (write enable)
This bit enables writing to the flash memory area.
When this bit is "1", writing after the command sequence (see Section "28.5 Starting the Flash Memory
Automatic Algorithm") is issued to the F8 (F9) to FF bank writes to the flash memory area. When this
bit is "0", the write/erase signal is not generated. This bit is used when the flash memory Write/Erase
command is started.
If write/erase is not performed, it is recommended that this bit be set to "0" to prevent data from being
mistakenly written to the flash memory.
"0": Disables flash memory write/erase.
"1": Enables flash memory write/erase.
Figure 28.4-1 Flash Memory Control Status Register (FMCS)
7
6
5
bit
INTE
RDYINT
WE
(R/W)
(R/W)
(R/W)
CHAPTER 28 3M-BIT FLASH MEMORY
4
3
2
RDY
Reserved
Reserved
(R)
(R/W)
(R/W)
1
0
Initial value
000X0000
Reserved
Reserved
(R/W)
(R/W)
B
561

Advertisement

Table of Contents
loading

Table of Contents