47.6.9 Write Protection Registers

To prevent any single software error from corrupting SPDIFRX behavior, certain registers in the address space can be write-protected by setting the WPEN (Write Protection Enable), WPITEN (Write Protection Interrupt Enable), and/or WPCREN (Write Protection Control Enable) bits in the SPDIF Receiver Write Protection Mode Register (SPDIFRX_WPMR).

If a write access to a write-protected register is detected, the WPVS flag in the SPDIF Receiver Write Protection Status Register (SPDIFRX_WPSR) is set and the field WPSRC indicates the register in which the write access has been attempted.

The WPVS bit is automatically cleared after reading the SPDIFRX_WPSR.

The following register can be write-protected by setting SPDIFRX_WPMR.WPEN:

The following registers can be write-protected by setting SPDIFRX_WPMR.WPITEN:

The following register can be write-protected by setting SPDIFRX_WPMR.WPCREN: