
1029
9166D–AVR-01/12
AT32UC3C
33.7.31
Write Protect Status Register
Name:
WPSR
Access Type:
Read-only
Offset:
0x0E8
Reset Value:
0x00000000
WPVSRC: Write Protect Violation Source
When WPVS is active, this field indicates the write-protected register (through address offset divided by four) in which a write
access has been attempted.
WPHWSx: Write Protect HW Status
0: The Write Protect HW x of the register group x is disabled.
1: The Write Protect HW x of the register group x is enabled.
WPVS: Write Protect Violation Status
0: No Write Protect violation has occurred since the last read of the WPSR register.
1: At least one Write Protect violation has occurred since the last read of the WPSR register. If this violation is an unauthorized
attempt to write a protected register, the associated violation is reported into WPVSRC field.
WPSWSx: Write Protect SW Status
0: The Write Protect SW x of the register group x is disabled.
1: The Write Protect SW x of the register group x is enabled.
Note:
Reading WPSR automatically clears WPVS and WPVSRC fields.
31
30
29
28
27
26
25
24
WPVSRC
23
22
21
20
19
18
17
16
WPVSRC
15
14
13
12
11
10
9
8
-
WPHWS5
WPHWS4
WPHWS3
WPHWS2
WPHWS1
WPHWS0
765
43
210
WPVS
-
WPSWS5
WPSWS4
WPSWS3
WPSWS2
WPSWS1
WPSWS0