6
6-6
Ver.0.10
■
Flash Status Register 2 (FSTAT2)
D8
9
10
11
12
13
14
D15
FBUSY
ERASE
WRERR1 WRERR2
<When reset : H'80>
D
Bit Name
Function
R
W
8
FBUSY
0 : Program or erase under way
—
(Flash busy)
1 : Ready state
9
No functions assigned
0
—
10
ERASE
0 : Erase normally operating/terminated
—
(Auto Erase operating condition)
1 : Erase error occurred
11
WRERR1
0 : Program normally operating/terminated
—
(Program operating condition)
1 : Program error occurred
12
WRERR2
0 : Program normally operating/terminated
—
(Program operating condition)
1 : Over-programming occurred
13 - 15
No functions assigned
0
—
The Flash Status Register 2 (FSTAT2) consists of the following four read-only status bits which
indicate the operating condition of the flash memory.
(1) FBUSY (Flash Busy) bit (D8)
The FBUSY bit is used to determine whether the operation is terminated when programming or
erasing the flash memory. When FBUSY = 0, it means the program or erase operation is being
executed; when FBUSY = 1, the operation is terminated.
(2) ERASE (Auto Erase operating condition) bit (D10)
The ERASE bit is used to determine whether execution of the flash memory erase operation has
resulted in an error. When ERASE = 0, it means the erase operation terminated normally; when
ERASE = 1, the operation terminated in an error.
(3) WRERR1 (Program operating condition) bit (D11)
The WRERR1 bit is used to determine after completion of execution whether the flash memory
program operation resulted in an error. When WRERR1 = 0, it means the program operation
terminated normally; when WRERR1 = 1, the operation terminated in an error. The condition
under which WRERR1 is set to 1 is when any bit other than those that must be 0 is found to be a
0 by comparison between the write data and the data in the flash memory.
INTERNAL MEMORY
6.4 Registers Associated with the Internal Flash Memory
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...