47.7.9 Register Write Protection
To prevent any single software error from corrupting MCSPI behavior, certain registers in the address space can be write-protected in the MCSPI Write Protection Mode Register (MCSPI_WPMR).
If a write access to a write-protected register is detected, the Write Protection Violation Status (WPVS) bit in the MCSPI Write Protection Status Register (MCSPI_WPSR) is set and the Write Protection Violation Source (WPVSRC) field indicates the register in which the write access has been attempted.
The WPVS bit is automatically cleared after reading MCSPI_WPSR.
The following registers are write-protected when WPEN is set in MCSPI_WPMR:
The following register is write-protected when WPCREN is set in MCSPI_WPMR:
The following registers are write-protected when WPITEN is set in MCSPI_WPMR:
