37.6.7 REGISTER ACCESS PROTECTION

The following registers are write-protected:

  • CTRLA - Control A Register
  • CTRLB - Control B Register
  • INTENCLR - Interrupt Enable Clear Register
  • INTENSET - Interrupt Enable Set Register
  • INTFLAGSET - Interrupt Flag Software Set Register

When the write protection is enabled, any attempt to write these registers will be discarded. These registers are marked as "write-protected".

M_CAN and TSU extension support specific write-protection mechanism. Configuration registers are accessible only when CCCR.INIT = 1 and CCCR.CCE are set. Some other registers are accessible when CCCR.CCE = 0. No interrupts or peripheral errors are generated when an access to a "protectedwrite" register is detected, and the protection is active.