Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 913
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
38.7.31 PWM Write Protect 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 register.
1 = At least one Write Protect violation has occurred since the last read of the PWM_WPSR register. If this violation is an unau-
thorized 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
7
6
5
4
3
2
1
0
WPVS
WPSWS5
WPSWS4
WPSWS3
WPSWS2
WPSWS1
WPSWS0