Datasheet

819
SAM9G45 [DATASHEET]
Atmel-6438O-ATARM-SAM9G45-Datasheet_08-Dec-15
35.14.19 HSMCI Write Protect Status Register
Name: HSMCI_WPSR
Address: 0xFFF800E8 (0), 0xFFFD00E8 (1)
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.
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
76543210
–––– WP_VS
Value Name Description
0 NONE No Write Protection Violation occurred since the last read of this register (WP_SR)
1 WRITE Write Protection detected unauthorized attempt to write a control register had occurred (since the last read.)
2 RESET Software reset had been performed while Write Protection was enabled (since the last read).
3BOTH
Both Write Protection violation and software reset with Write Protection enabled have occurred since the last
read.