19.3.6 Configuration Change Protection
This peripheral has registers that are under Configuration Change Protection (CCP). To write to these registers, a given key must first be written to the CPU.CCP register, followed by a write access to the protected bits within four CPU instructions.
Writing to a CCP-protected register outside the CCP sequence will be disregarded and return a Bus Error.
The following registers are under CCP:
Register | Key |
---|---|
SLPCTRL.CTRLB | IOREG |
SLPCTRL.VREGCTRL | IOREG |