
427
CHAPTER 21 FLASH MEMORY
21.5 Checking the Automatic Algorithm Execution Status
The flash memory uses hardware for notifying the user of the internal operation status
of flash memory and operation completion so as to perform the operation sequence
for write/erase via the automatic algorithm. This automatic algorithm can use the
following hardware sequence flags to check the operation status of flash memory:
■
Ready/Busy signal (RDY/BUSYX)
Besides the hardware sequence flags, the flash memory has the Ready/Busy signal as a means
of notifying the user whether the automatic algorithm is being executed or has terminated. This
Ready/Busy signal is connected to the flash memory interface circuit and can be read as the
RDY bit of the flash memory status register (FLCR). At the rising edge of this signal, an interrupt
request can also be issued to the CPU.
When the read value of the RDY bit is 0, data is being written to, or read from the flash memory.
At this time, flash memory does not accept Write and Erase commands. When the read value of
the RDY bit is 1, the flash memory is in read/write status or in erase operation wait status.
■
Hardware sequence flags
The value of the hardware sequence flag can be obtained as a data item by reading the
respective flash memory address (an odd address during byte access) during execution of the
automatic algorithm. In this data item, five bits are effective, each is used to indicate the status
of the automatic algorithm.
These flags are meaningless in FR-CPU ROM mode. Be sure to execute half word or byte read
only in FR-CPU programming mode.
(Undefined)
15
8
Hardware sequence flag
Hardware sequence flag
7
0
At halfword read
7
0
At byte read (odd address only)
Note: Word read is inhibited (use only the FR-CPU programming mode).
6
7
5
4
2
3
1
0
TOGGLE
DPOLL
TLOVER
(Undefined)
(Undefined) (Undefined)
TOGGL2
SETIMR
bit
(At halfword or byte access)
Содержание MB91150 Series
Страница 1: ......
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Страница 174: ...158 CHAPTER 5 I O PORTS Note DDRI bit 6 is a test bit Always set the bit to 0 The value read from this bit is always 0 ...
Страница 178: ...162 CHAPTER 5 I O PORTS ...
Страница 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Страница 240: ...224 CHAPTER 8 PPG TIMER ...
Страница 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Страница 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Страница 362: ...346 CHAPTER 15 UART ...
Страница 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Страница 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Страница 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 510: ...494 INDEX ...
Страница 512: ......