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

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 911
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
38.7.30 PWM Write Protect Control Register
Name:
PWM_WPCR
Address:
0x400200E4
Access:
Write-only
• WPCMD: Write Protect Command
This command is performed only if the WPKEY value is correct.
0 = Disable the Write Protect SW of the register groups of which the bit WPRGx is at 1.
1 = Enable the Write Protect SW of the register groups of which the bit WPRGx is at 1.
2 = Enable the Write Protect HW of the register groups of which the bit WPRGx is at 1.
Moreover, to meet security requirements, in this mode of operation, the PIO lines associated with PWM can not be con-
figured through the PIO interface, not even by the PIO controller.
3 = No effect.
Note:
Only a hardware reset of the PWM controller can disable the Write Protect HW.
• WPRGx: Write Protect Register Group x
0 = The WPCMD command has no effect on the register group x.
1 = The WPCMD command is applied to the register group x.
• WPKEY: Write Protect Key
Should be written at value 0x50574D (“PWM” in ASCII). Writing any other value in this field aborts the write operation of the 
WPCMD field. Always reads as 0.
List of register groups:
• Register group 0:
• Register group 1:
• Register group 2:
• Register group 3:
31
30
29
28
27
26
25
24
WPKEY
23
22
21
20
19
18
17
16
WPKEY
15
14
13
12
11
10
9
8
WPKEY
7
6
5
4
3
2
1
0
WPRG5
WPRG4
WPRG3
WPRG2
WPRG1
WPRG0
WPCMD