ML610Q111/ML610Q112 User’s Manual
Chapter 23 Data Flash Memory
FEUL610Q111
23-5
23.2.4 Flash Control Register (FLASHCON)
Address: 0F0E4H
Access: W
Access size: 8 bits
Initial value: 00H
7
6
5
4
3
2
1
0
FLASHCON
—
—
—
—
—
—
FSERS
FERS
R/W
—
—
—
—
—
—
W
W
Initial value
0
0
0
0
0
0
0
0
FLASHCON is a write-only special function register (SFR) to control the block erase or the sector erase for the flash
memory rewrite.
[Description of Bits]
•
FERS
(bit 0)
The FERS bit is used to start the block erase.
Setting the FERS bit to
“
1
”
erases the block specified by the FSEG1 to FSEG0 bit of FLASHSEG register, and the
FA15 to FA8 bit of FLASHAH register. This bit is automatically set to
“
0
”
after completing the erase.
•
FSERS
(bit 1)
FSERS is a bit to specify the start of the sector erase.
Setting the FSERS bit to
“
1
”
erases the sector specified by the FSEG1 to FSEG0 bit of FLASHSEG register, and the
FA15 to FA8 bit of FLASHAH register. This bit is automatically set to
“
0
”
after completing the erase.
FSERS
FERS
Description
0
0
Stop erase (initial value)
0
1
Start block erase
1
0
Start sector erase
1
1
Start block erase
Note
:
During the block erase and the sector erase, the CPU is in a wait state. Meanwhile, the peripheral circuits continue the
operation and interrupts are on hold.
Summary of Contents for ML610Q111
Page 1: ...ML610Q111 ML610Q112 User s Manual Issue Date Nov 16 2016 FEUL610Q111 05 ...
Page 14: ...Chapter 1 Overview ...
Page 26: ...Chapter 2 CPU and Memory Space ...
Page 34: ...Chapter 3 Reset Function ...
Page 38: ...Chapter 4 MCU Control Function ...
Page 53: ...Chapter 5 Interrupts INTs ...
Page 81: ...Chapter 6 Clock Generation Circuit ...
Page 95: ...Chapter 7 Time Base Counter ...
Page 103: ...Chapter 8 Timers ...
Page 145: ...Chapter 9 Watchdog Timer ...
Page 153: ...Chapter 10 PWM ...
Page 199: ...Chapter 11 Synchronous Serial Port ...
Page 212: ...Chapter 12 UART ...
Page 240: ...Chapter 13 I2 C Bus Interface Master ...
Page 254: ...Chapter 14 I2 C Bus Interface Slave ...
Page 269: ...Chapter 15 Port A ...
Page 279: ...Chapter 16 Port B ...
Page 291: ...Chapter 17 Port C ...
Page 303: ...Chapter 18 Port D ...
Page 312: ...Chapter 19 Port AB Interrupts ...
Page 317: ...Chapter 20 Successive Approximation Type A D Converter ...
Page 335: ...Chapter 21 Voltage Level Supervisor ...
Page 342: ...Chapter 22 Analog Comparator ...
Page 353: ...Chapter 23 Data Flash Memory ...
Page 373: ...Chapter 24 On chip Debug ...
Page 375: ...Appendixes ...
Page 393: ...Appendix E ...
Page 398: ...Revision History ...