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 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| SWETYP[2:0] | |||||||||
| Access | R | R | R | ||||||
| Reset | 0 | 0 | 0 | ||||||
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| WPSRC[15:8] | |||||||||
| Access | R | R | R | R | R | R | R | R | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| WPSRC[7:0] | |||||||||
| Access | R | R | R | R | R | R | R | R | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| NCE[1:0] | SWE | SEQE | WPVS | ||||||
| Access | R | R | R | R | R | ||||
| Reset | 0 | 0 | 0 | 0 | 0 | ||||
Bits 26:24 – SWETYP[2:0] Software Error Type (cleared on read)
| Value | Name | Description |
|---|---|---|
| 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)
| Value | Description |
|---|---|
| 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)
| Value | Description |
|---|---|
| 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)
| Value | Description |
|---|---|
| 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)
| Value | Description |
|---|---|
| 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. |
