360
CHAPTER 17 FLASH MEMORY
Note:
The RDYINT and RDY bits cannot be changed at the same time. Create a program so that decisions are
made using one or the other of these bits.
Table 17.2-1 Explanation of Functions of Each Bit in the Flash Memory Control Status Register (FMCS)
Bit name
Description
bit7
INTE:
Causing an
interrupt to the
CPU to be
generated bit
Bit causing an interrupt (IRQB) to the CPU to be generated when writing into or erasing
from flash memory is completed.
An interrupt (IRQB) to the CPU is generated when both the INTE bit and RDYINT bit
are "1". If the INTE bit is "0", no interrupt is generated.
bit6
RDYINT:
Flash memory
operation state
indication bit
Bit for indicating operation status of flash memory.
This bit is set to "1" when writing into or erasing from flash memory is completed. After
data has been written into or erased from flash memory and this bit has been set to "1",
subsequent data can be written into or erased from flash memory.
Writing "0" clears this bit with "0", while if "1" is written into this bit, it is ignored. This
bit is set to "1" upon the termination of the flash memory automatic algorithm (see
Section "17.3 Starting the Flash Memory Automatic Algorithm
"
. The read modifier
write (RMW) command always reads "1" from this bit.
bit5
WE:
Write enable bit
Bit for write-enabling flash memory areas.
When this bit is set to "1", a write instruction performed after a command sequence for a
section from C000
H
to FFFF
H
(see Section "17.3 Starting the Flash Memory Automatic
Algorithm
")
is issued writes data into a flash memory area. When this bit is set to "0", no
write/erase signals are generated. This bit is used to start a command for writing data into
or erasing data from flash memory.
It is recommended that this bit be set to "0" to prevent data from being incorrectly written
into flash memory, whenever there is no data to be written or erased.
bit4
RDY:
ReaDY bit
Bit for status checking for writing data into or erasing data from flash memory.
No data can be written into or erased from flash memory while this bit is "0". However, a
read command, reset command, and suspend commands such as the sector erase suspend
command can be accepted while this bit is "0".
bit3
to
bit0
Unused bits
Reading / Writing for these bits have no effect.
1 machine cycle
Automatic algorithm
Termination timing
RDYINT bit
RDY bit
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......