16.20.42 Write Protection Mode Register

Name: HSMC_WPMR
Offset: 0x7E4
Reset: 0x00000000
Property: Read/Write

Bit 3130292827262524 
 WPKEY[23:16] 
Access WWWWWWWW 
Reset 00000000 
Bit 2322212019181716 
 WPKEY[15:8] 
Access WWWWWWWW 
Reset 00000000 
Bit 15141312111098 
 WPKEY[7:0] 
Access WWWWWWWW 
Reset 00000000 
Bit 76543210 
        WPEN 
Access R/W 
Reset 0 

Bits 31:8 – WPKEY[23:0] Write Protection Key

ValueNameDescription
0x534D43 PASSWD Writing any other value in this field aborts the write operation of bit WPEN. Always reads as 0.

Bit 0 – WPEN Write Protection Enable

See Register Write Protection for list of write-protected registers.

ValueDescription
0 Disables write protection if WPKEY value corresponds to 0x534D43 (“SMC” in ASCII)
1 Enables write protection if WPKEY value corresponds to 0x534D43 (“SMC” in ASCII)