48.6.6 Write Protection Registers

To prevent any single software error from corrupting SPDIFTX behavior, certain registers in the address space can be write-protected by setting the WPEN bit or the WPITEN bit in the SPDIFTX Write Protection Mode Register (SPDIFTX_WPMR). When WPVS = 1, the field WPVSRC indicates the register address offset at which a write access has been attempted.

If a write access to a write-protected register is detected, the WPVS flag in the SPDIFTX Write Protection Status Register (SPDIFTX_WPSR) is set and WPVSRC indicates the register in which the write access has been attempted.

The WPVS bit is automatically cleared after reading the SPDIFTX_WPSR.

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

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

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