Flash Status Registers - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6

6.4.2 Flash Status Registers

The 32170 has two registers to indicate the flash memory status, one of which is Flash Status
Register 1 (FSTAT1) located in the SFR area (address: H'0080 07E1), and the other is Flash Status
Register 2 (FSTAT2) included in the flash memory itself. When programming or erasing the flash
memory, use these two status registers (FSTAT1, FSTAT2) to control the program/erase
operations.
Flash Status Register 1 (FSTAT1)
D8
D
Bit Name
8 - 14
No functions assigned
15
FSTAT
(Ready/Busy status)
The Flash Status Register 1 (FSTAT1) is a read-only status register used to know the execution
status of whether the flash memory is being programmed or erased. When the FSTAT bit = 0, it
means that the flash memory is being programmed or erased, during which time any operation to
program the flash memory area is disabled.
6.4 Registers Associated with the Internal Flash Memory
9
10
11
Function
0 : Busy
1 : Ready
6-5
INTERNAL MEMORY
<Address: H'0080 07E1>
12
13
14
D15
FSTAT
<When reset : H'01>
R
W
0
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents