31.2.23.12 PFM Write Protect Region x Register
Symbol | Description | Symbol | Description | Symbol | Description |
---|---|---|---|---|---|
R | Readable bit | HC | Cleared by Hardware | (Grey cell) | Unimplemented |
W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
K | Write to clear | S | Software settable bit | — | — |
Name: | PWPx |
Offset: | 0x4C + x*0x04 [x=0..7] |
Reset: | 0x00000000 |
Property: | PAC Write Protection, KEY.KEY[7:0] = CFGKEY to unlock when unprotected |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
PWPBASE[11:8] | |||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
PWPBASE[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
PWPEN | PWPLOCK | PWPSIZE[11:8] | |||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PWPSIZE[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 27:16 – PWPBASE[11:0] PFM Write Protect Region x Base Address - 4KB Page Aligned
The Region Base Address is the concatenation of PWPBASE[23:12] and 0x000.
When PWPEN=1, the region from PWPBASE to PWPBASE+PWPSIZE+1 is write/erase protected.
Note: This is a byte address force to
align to page boundaries.
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and
KEY.KEY=<CFGKEY Value>.
Bit 16 – PWPMIR Mirror PWP Bit
Mirrors Lower PFM settings to Upper or Upper PFM settings to Lower. This feature can be used to maintain Write Protect (WP) consistency between Upper and Lower PFM when using PFSWAP.
Note: When Mirrored, the PWPBASE address bit that distinguishes between panels is
treated as a “Don’t Care”, meaning it can be 0 or 1.
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and
KEY.KEY=<CFGKEY Value>.
Value | Description |
---|---|
1 | PWP settings are Mirrored |
0 | PWP settings are NOT Mirrored |
Bit 15 – PWPEN PFM Write Protect Region x Enable Bit
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and
KEY.KEY=<CFGKEY Value>.
Value | Description |
---|---|
1 | Region is Enabled |
0 | Region is Not Enabled |
Bit 14 – PWPLOCK PWP Region x Lock Bit
Note: PWPLOCK can be set the same
time as PWPBASE and PWPSIZE are written. Once set, PWPLOCK can only be cleared
by a reset (Writing zero has no effect.).
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and
KEY.KEY=<CFGKEY Value>.
Value | Description |
---|---|
1 | PWPx register is Locked and cannot be modified |
0 | PWPx register is Not Locked and can be modified |
Bits 11:0 – PWPSIZE[11:0] PWP Region x Size in 4KB
Pages Region Size is (PWPSIZE+1) *4KB.
0x000
= 4KB
0x001
= 8KB
...
0x3FF
= 16MB
Note: This field can only be modified when PWPLOCK=0, STATUS.BUSY=0 and
KEY.KEY=<CFGKEY Value>.