16.7.2 Write Control 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: | WRCTRL |
| Offset: | 0x4 |
| Reset: | 0x00000000 |
| Property: | W |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| KEY[7:0] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| PERID[7:0] | |||||||||
| Access | W | W | W | W | W | W | W | W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Bits 23:16 – KEY[7:0] These bits define the peripheral access control key: others = reserved Note: Always reads 0's. Note: Bits 7-2 are ignored and maybe unimplemented
These bits define the peripheral access control key:
| Value | Name | Description |
|---|---|---|
| 3 | LOCK | LOCK - Set and Lock the write protection state of the peripheral until the next reset |
| 2 | SET | SET - Set the peripheral write protection |
| 1 | CLEAR | CLEAR - Clear the peripheral write protection |
| 0 | OFF | OFF - No Action |
Bits 7:0 – PERID[7:0] The PERID represents the peripheral whose control is changed using the WRCTRL.KEY. The Peripheral Identifier is provided by the chip spec and corresponds to the PERID[7:0]. For INTFLAGn.PERIDm, STATUSn.PERIDm and LOCKn.PERIDm, n=PERID/32 and m=PERID%32. Note: Always reads 0's. Note: Bit 7 is ignored and maybe unimplemented.
The PERID represents the peripheral whose control is changed using the WRCTRL.KEY.
The value corresponding to each peripheral can be found in the peripheral dependency table.
