
963
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
37.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:
–
“PWM Clock Register” on page 937
• Register group 1:
–
“PWM Disable Register” on page 938
• Register group 2:
–
“PWM Sync Channels Mode Register” on page 942
–
“PWM Channel Mode Register” on page 970
–
“PWM Stepper Motor Mode Register” on page 962
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
Содержание SAM4S Series
Страница 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Страница 1142: ...1142 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 3 100 ball VFBGA Package Drawing ...
Страница 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Страница 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...