7.4.6.1 Sequence for Write Operation to Configuration Change Protected I/O Registers
To write to I/O registers protected by CCP, the following steps are required:
- The software writes the signature that enables change of the protected I/O registers to the CCP bit field in the CPU.CCP register.
- Within four instructions, the software
must write the appropriate data to the protected I/O register.
The protected change is automatically disabled after the CPU executes a write instruction.