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:

  1. 1.The software writes the signature that enables change of the protected I/O registers to the CCP bit field in the CPU.CCP register.
  2. 2.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.