Atmel SAM4S-EK2 Atmel ATSAM4S-EK2 ATSAM4S-EK2 Data Sheet
Product codes
ATSAM4S-EK2
852
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
37.14.18HSMCI Write Protect Status Register
Name: HSMCI_WPSR
Address:
0x400000E8
Access: Read-only
• WP_VS: Write Protection Violation Status
• WP_VSRC: Write Protection Violation SouRCe
When WPVS is active, this field indicates the write-protected register (through address offset or code) in which a write access has
been attempted.
been attempted.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
WP_VSRC
15
14
13
12
11
10
9
8
WP_VSRC
7
6
5
4
3
2
1
0
–
–
–
–
WP_VS
Value
Name
Description
0
NONE
No Write Protection Violation occurred since the last read of this
register (WP_SR)
register (WP_SR)
1
WRITE
Write Protection detected unauthorized attempt to write a control
register had occurred (since the last read.)
register had occurred (since the last read.)
2
RESET
Software reset had been performed while Write Protection was
enabled (since the last read).
enabled (since the last read).
3
BOTH
Both Write Protection violation and software reset with Write
Protection enabled have occurred since the last read.
Protection enabled have occurred since the last read.