3.7.4 Flash status register (FLASH_SR)The Flash status register ให้ information เกี่ยวกับ program and erase operations ที่กำลังดำเนินการอยู่.
Address offset: 0x0C
Reset value: 0x0000 0000
Access: no wait state, word, half-word and byte access

Bits 31:17 Reserved, must be kept cleared.
Bit 16
BSY: Busy
บิตนี้แสดงให้เห็นว่า a Flash memory operation กำลังดำเนินการอยู่. มันถูกเซ็ตที่จุดเริ่มต้นของ a Flash memory operation และ
ถูกเคลียร์เมื่อ the operation สำเร็จลงหรือ an error เกิดขึ้น.
0: ไม่มี Flash memory operation กำลังดำเนินการอยู่
1: Flash memory operation กำลังดำเนินการอยู่
Bits 15:8 Reserved, must be kept cleared.
Bit 7
ERSERR: Erase Sequence Error
ถูกเซ็ตโดย hardware เมื่อ a write เข้าถึงไปยัง the Flash memory ถูกดำเนินการโดย the code ในขณะที่ the control
register ไม่ได้ถูกกำหนดค่าอย่างถูกต้องไว้.
ถูกเคลียร์โดยการเขียน 1.
Bit 6
PGPERR: Programming parallelism error
ถูกเซ็ตโดย hardware เมื่อขนาดของ the access (byte, half-word, word, double word) ในระหว่าง the program
sequence ไม่ตรงกันกับ the parallelism configuration PSIZE (x8, x16, x32, x64).
ถูกเคลียร์โดยการเขียน 1.
Bit 5
PGAERR: Programming alignment error
ถูกเซ็ตโดย hardware เมื่อ the data ไปยัง program ไม่สามารถถูกบรรจุใน the same 128-bit Flash memory row.
ถูกเคลียร์โดยการเขียน 1.
Bit 4
WRPERR: Write protection error
ถูกเซ็ตโดย hardware เมื่อ an address ที่จะถูกลบ/โปรแกรมเป็นของ a write-protected part ของ the Flash memory.
ถูกเคลียร์โดยการเขียน 1.
Bits 3:2 Reserved, must be kept cleared.
Bit 1
OPERR: Operation error
ถูกเซ็ตโดย hardware เมื่อ a flash operation (programming / erase /read) request ถูกตรวจพบและไม่สามารถถูกรัน
เนื่องจาก parallelism, alignment, หรือ write protection error. บิตนี้ถูกเซ็ตเฉพาะถ้า error interrupts ถูกเปิดใช้งาน (ERRIE
= 1).
Bit 0
EOP: End of operation
ถูกเซ็ตโดย hardware เมื่ออย่างน้อยหนึ่ง Flash memory operations (program/erase) สำเร็จเสร็จสมบูรณ์แล้ว. มันถูกเซ็ต
เฉพาะถ้า the end of operation interrupts ถูกเปิดใช้งาน (EOPIE =1).
ถูกเคลียร์โดยการเขียน 1.