7.6.7.10 PDMC Write Protection Status Register

See Register Write Protection for the list of write-protected registers.

Name: PDMC_WPSR
Offset: 0x30
Reset: 0x00000000
Property: Read-only

Bit 3130292827262524 
      SWETYP[2:0] 
Access RRR 
Reset 000 
Bit 2322212019181716 
 WPSRC[15:8] 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
 WPSRC[7:0] 
Access RRRRRRRR 
Reset 00000000 
Bit 76543210 
   NCE[1:0]SWESEQE WPVS 
Access RRRRR 
Reset 00000 

Bits 26:24 – SWETYP[2:0] Software Error Type (cleared on read)

ValueNameDescription
0 READ_WO A write-only register has been read.
1 WRITE_RO A write access has been performed on a read-only register.
2 UNDEF_RW Access to an undefined address.
Reserved
Reserved

Bits 23:8 – WPSRC[15:0] Write Protection Source

When WPVS = 1, WPSRC indicates the register address offset at which a write access has been attempted.

When SWE=1 and WPVS=0, WPSRC indicates the offset at which the incorrect access has been performed.

Bits 5:4 – NCE[1:0] Non-Corrected Error (cleared by reconfiguring the faulty registers)

ValueDescription
0 No error is detected in the configuration registers.
Greater than 0 An error is detected in PDMC_MR, PDMC_CFGR, PDMC_IMR or PDMC_WPMR.

Bit 3 – SWE Software Control Error (cleared on read)

ValueDescription
0 No software error has occurred since the last read of PDMC_WPSR.
1 A software error has occurred since the last read of PDMC_WPSR. SWETYP provides details on the type of software error. The associated incorrect software access is reported in WPSRC (if WPVS=0).

Bit 2 – SEQE Internal Sequencer Error (cleared on read)

ValueDescription
0 No peripheral internal sequencer error has occurred since the last read of PDMC_WPSR.
1 A peripheral internal sequencer error has occurred since the last read of PDMC_WPSR.

Bit 0 – WPVS Write Protection Violation Status (cleared on read)

ValueDescription
0 No write protection violation has occurred since the last read of PDMC_WPSR.
1 A write protection violation has occurred since the last read of PDMC_WPSR. If this violation is an unauthorized attempt to write a protected register, the associated violation is reported into the field WPSRC.