Datasheet
974
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
39.7.31 PWM Write Protection Status Register
Name: PWM_WPSR
Address: 0x400200E8
Access: Read-only
• 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.
• 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 PWM_WPSR.
1: At least one Write Protect violation has occurred since the last read of the PWM_WPSR. If this violation is an unauthorized
attempt to write a protected register, the associated violation is reported into field WPVSRC.
• WPVSRC: Write Protect Violation Source
When WPVS is active, this field indicates the write-protected register (through address offset) in which a write access has been
attempted.
Note: The two LSBs of the address offset of the write-protected register are not reported
Note: Reading PWM_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
76543210
WPVS – WPSWS5 WPSWS4 WPSWS3 WPSWS2 WPSWS1 WPSWS0