Fujitsu MB90335 Series Hardware Manual page 503

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 22 DUAL OPERATION FLASH MEMORY
22.3 Registers of Flash Memory
Table 22.3-1 Functions of Flash Memory Control Status Register (FMCS)
Bit Name
INTE:
Flash memory
bit7
programming/erasing
interrupt enable bit
RDYINT:
bit6
Flash memory
operation flag bit
WE:
Flash memory
bit5
programming/erasing
enable bit
RDY:
Flash memory
bit4
programming/erasing
status bit
Reserved:
bit3 to bit0
Reserved bits
482
This bit enables or disables an interrupt as programming/erasing flash memory is
terminated.
When set to "1": If the flash memory operation flag bit is set to "1" (FMCS:
RDYINT = 1), an interrupt is requested.
This bit shows the operating state of flash memory.
If programming/erasing flash memory is terminated, the RDYINT bit is set to "1"
in timing of termination of the automatic flash memory algorithm.
• When interrupt for flash memory program/erase termination is enabled
(FMCS: INTE = 1), If RDYINT bit is set to "1" an interrupt request is
generated.
• If the RDYINT bit is "0", programming/erasing flash memory is disabled.
When set to "0": Cleared.
When set to "1": Unaffected.
If the read-modify-write (RMW) instructions are used, "1" is always read.
This bit enables or disables the programming/erasing of flash memory.
The WE bit should be set before starting the command to program/erase flash
memory.
When set to "0": No program/erase signal is generated even if the command to
program/erase the FF bank is input.
When set to "1": Programming/erasing flash memory is enabled after inputting
program/erase command to the FF bank.
• When not performing programming/erasing, the WE bit should be set to "0"
so as not to accidentally program or erase flash memory.
• To program data into the flash memory, after setting FMCS:WE to "1" to
write-enable the flash memory and set the flash memory write control register
(FWR0/FWR1). When FMCS:WE contains "0" for write protection,
programming into the flash memory is not performed even with the flash
memory write control register (FWR0/FWR1) write-enabling the flash
memory.
This bit shows the programming/erasing status of flash memory.
• If the RDY bit is "0", programming/erasing flash memory is disabled.
• The commands, such as the read/reset command and sector erasing pause, can
be accepted even if the RDY bit is "0". The RDY bit is set to "1" when
programming/erasing is completed.
Always set these bits to "0".
FUJITSU MICROELECTRONICS LIMITED
MB90335 Series
Function
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents