Atmel SAM4L Xplained Pro Evaluation Kit Atmel ATSAM4L-XPRO ATSAM4L-XPRO Data Sheet

Product codes
ATSAM4L-XPRO
Page of 1204
699
42023E–SAM–07/2013
ATSAM4L8/L4/L2
26.8.14
Write Protection Status Register
Register Name:
WPSR
Access Type:
Read-only
Offset:
0xE8
Reset Value:
0x00000000 
• SPIWPVSRC: SPI Write Protection Violation Source
This Field indicates the Peripheral Bus Offset of the register concerned by the violation (MR or CSRx)
• SPIWPVS: SPI Write Protection Violation Status
31
30
29
28
27
26
25
24
-
-
-
-
-
-
-
-
23
22
21
20
19
18
17
16
-
-
-
-
-
-
-
-
15
14
13
12
11
10
9
8
SPIWPVSRC
7
6
5
4
3
2
1
0
-
-
-
-
-
SPIWPVS
SPIWPVS value
Violation Type
1
The Write Protection has blocked a Write access to a protected register (since the last read).
2
Software Reset has been performed while Write Protection was enabled (since the last read 
or since the last write access on MR, IER, IDR or CSRx).
3
Both Write Protection violation and software reset with Write Protection enabled have 
occurred since the last read.
4
Write accesses have been detected on MR (while a chip select was active) or on CSRi (while 
the Chip Select “i” was active) since the last read.
5
The Write Protection has blocked a Write access to a protected register and write accesses 
have been detected on MR (while a chip select was active) or on CSRi (while the Chip Select 
“i” was active) since the last read.
6
Software Reset has been performed while Write Protection was enabled (since the last read 
or since the last write access on MR, IER, IDR or CSRx) and some write accesses have been 
detected on MR (while a chip select was active) or on CSRi (while the Chip Select “i” was 
active) since the last read.
7
- The Write Protection has blocked a Write access to a protected register.
and
- Software Reset has been performed while Write Protection was enabled.
and
- Write accesses have been detected on MR (while a chip select was active) or on CSRi 
(while the Chip Select “i” was active) since the last read.