Bits 31:8 – WPKEY[23:0] Write protect
command key. The desired value of WPKEY[23:0] is given by the parameter H2PB_WPCTRL_KEY.
Writing a value other than H2PB_WPCTRL_KEY to this bit-field cancels the write operation
to this register and generates a slave bus error. This bit-field always returns 0 on
read.
Bit 1 – WPLCK 1 = WPCTRL
register is write-protected (i.e. read-only) for non-debugger accesses. Non-debugger
writes to this register are canceled and generate a slave bus error. This bit can only
be cleared by a system hardware reset. 0 = WPCTRL register is not write protected. Once
set, this bit will make WPCTRL write-protected (i.e. read-only), all the way until the
next system hardware reset.
Bit 0 – WPEN Once set, this
bit will make write-protected (i.e. read-only) all the SFRs in this macro which are
marked by the property "Write-Protected" (like CTRLA, for example). WPCTRL itself is NOT
affected by this bit because otherwise WPLCK would be totally redundant.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.