17.4.2.1 Peripheral Access Errors
The following events will generate a Peripheral Access Error:
- Protected write: To avoid unexpected writes to a peripheral's registers, each peripheral can be write-protected. Only the registers denoted as “PAC Write-Protection” or Local Write-Protection in the module’s data sheet can be protected. If a peripheral is not write-protected, write data accesses are performed normally. If a peripheral is write-protected and if a write access is attempted, data will not be written and the peripheral returns an access error. The corresponding interrupt flag bit in the INTFLAGn register will be set.
- Illegal access: Access to an unimplemented register within the peripheral except PORT, MTB, EIC, HMATRIX
- Synchronized write error: For write-synchronized registers, an error will be reported if the register is written while a synchronization is ongoing
When any of the Peripheral Interrupt Flag Status and Clear n (INTFLAGn) registers bit are set, an interrupt will be requested if the Peripheral Access Error Interrupt Enable (INTENCLR.ERR) or Peripheral Access Error Interrupt Disable (INTENSET.ERR) bit is set.
