CODE_OP=B_0x0, BK_OP=B_0x0
FLASH operation status register
ADDR_OP | Interrupted operation address This field indicates which address in the Flash memory was accessed when reset occurred. The address is given by bank from address 0x0 0000 to 0xF FFF0. |
BK_OP | Interrupted operation bank This bit indicates which Flash memory bank was accessed when reset occurred 0 (B_0x0): Bank 1 1 (B_0x1): Bank 2 |
SYSF_OP | Operation in system Flash memory interrupted This bit indicates that the reset occurred during an operation in the system Flash memory. |
CODE_OP | Flash memory operation code This field indicates which Flash memory operation has been interrupted by a system reset: 0 (B_0x0): No Flash operation interrupted by previous reset 1 (B_0x1): Single write operation interrupted 2 (B_0x2): Burst write operation interrupted 3 (B_0x3): Page erase operation interrupted 4 (B_0x4): Bank erase operation interrupted 5 (B_0x5): Mass erase operation interrupted 6 (B_0x6): Option change operation interrupted |