16.7.2 Write Control Register

Table 16-3. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: WRCTRL
Offset: 0x4
Reset: 0x00000000
Property: W

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 KEY[7:0] 
Access WWWWWWWW 
Reset 00000000 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 PERID[7:0] 
Access WWWWWWWW 
Reset 00000000 

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:

ValueNameDescription
3LOCKLOCK - Set and Lock the write protection state of the peripheral until the next reset
2SETSET - Set the peripheral write protection
1CLEARCLEAR - Clear the peripheral write protection
0OFFOFF - 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.