English
Language : 

SAM4L Datasheet, PDF (644/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
24.7.20 Write Protect Status Register
Register Name:
WPSR
Access Type:
Read-only
Offset:
0xE8
Reset Value:
See Table 24-17
31
30
29
28
27
26
25
24
-
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
WPVSRC[15:8]
15
14
13
12
11
10
9
8
WPVSRC[7:0]
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
WPVS
• WPVSRC: Write Protect Violation Source
If WPVS is one, this field indicates which write-protected register was unsuccessfully written to, either by address offset or code.
• WPVS: Write Protect Violation Status
0: No write protect violation has occurred since the last WPSR read.
1: A write protect violation has occurred since the last WPSR read.
Note: Reading WPSR automatically clears all fields. Writing the correct key to WPSR.WPKEY clears all fields.
42023C–SAM–02/2013
644