12.6.1 Write Control

Name: WRCTRL
Offset: 0x00
Reset: 0x00000000
Property: 

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 KEY[7:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 15141312111098 
 PERID[15:8] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 
Bit 76543210 
 PERID[7:0] 
Access RWRWRWRWRWRWRWRW 
Reset 00000000 

Bits 23:16 – KEY[7:0] Peripheral Access Control Key

These bits define the peripheral access control key:

ValueNameDescription
0x0OFFNo action
0x1CLRClear the peripheral write control
0x2SETSet the peripheral write control
0x3SETLCKSet and lock the peripheral write control until the next hardware reset

Bits 15:0 – PERID[15:0] Peripheral Identifier

The PERID represents the peripheral whose control is changed using the WRCTRL.KEY. The Peripheral Identifier is calculated following formula:

PERID=32* BridgeNumber + N
Where BridgeNumber represents the Peripheral Bridge Number (0 for Peripheral Bridge A, 1 for Peripheral Bridge B, etc). N represents the peripheral index from the respective Bridge Number, which can be found in the tables of Section 12 Peripheral Configuration Summary in the "PAC, Index" column.
Table 12-1. PERID Values
Periph. Bridge NameBridgeNumberPERID Values
A00+N
B132+N
C264+N
D396+N
Note:
  1. The following peripherals are not supported by the PAC:
    • CAN0, CAN1
    • GMAC
    • ICM
    • PCC
    • SDHC0, SDHC1
  2. PORT read/write attempts on non-implemented registers, including addresses beyond the last implemented register group do not generate a PAC protection error.
  3. Writing the Frequency Meter Control B register (FREQM.CTRLB) will result in a PAC error.