36.5.8 Register Access Protection

Registers with write-access can be optionally write-protected by the Peripheral Access Controller (PAC), except for the following:

  • Interrupt Flag register (INTFLAG)
  • Status register (STATUS)
  • Period and Period Buffer registers (PER, PERBUF)
  • Compare/Capture and Compare/Capture Buffer registers (CCx, CCBUFx)
  • Control Waveform register (WAVE)
  • Pattern Generation Value and Pattern Generation Value Buffer registers (PATT, PATTBUF)
Note: Optional write-protection is indicated by the "PAC Write-Protection" property in the register description.

When the CPU is halted in debug mode, all write-protection is automatically disabled. Write-protection does not apply for accesses through an external debugger.