Register descriptions PM0075
28/31 Doc ID 17863 Rev 1
3.8 Write protection register (FLASH_WRPR)
Address offset: 0x20
Reset value: 0xFFFF FFFF
Bit 1 RDPRT: Read protection
When set, this indicates that the Flash memory is read-protected.
Note: This bit is read-only.
Bit 0 OPTERR: Option byte error
When set, this indicates that the loaded option byte and its complement do not match. The
corresponding byte and its complement are read as 0xFF in the FLASH_OBR or
FLASH_WRPR register.
Note: This bit is read-only.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
WRP[31:16]
rrrrrrr r rrrrrrr r
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
WRP[15:0]
rrrrrrr r rrrrrrr r
Bits 31:0 WRP: Write protect
This register contains the write-protection option bytes loaded by the OBL.
0: Write protection active
1: Write protection not active
Note: These bits are read-only.