15.6.1 Write Control

Table 15-1. 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: 0x00
Reset: 0x00000000
Property: 

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 KEY[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 PERID[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 PERID[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

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

These bits define the peripheral access control key:

ValueNameDescription
0x0OFFNo action
0x1CLEARClear the peripheral write control
0x2SETSet the peripheral write control
0x3LOCKSet 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.

Table 15-2. PERID Values
PeripheralPERIDStatus BitINTFLAG bit
DSU0STATUSA[0]INTFLAGA[0]
FCW1STATUSA[1]INTFLAGA[1]
FCR-APB2STATUSA[2]INTFLAGA[2]
FCR-AHB0N/AINTFLAGAHB[0]
FCR-AHB1N/AINTFLAGAHB[1]
FCR-AHB2N/AINTFLAGAHB[2]
FCR-AHB3N/AINTFLAGAHB[3]
PM3STATUSA[3]INTFLAGA[3]
SUPC4STATUSA[4]INTFLAGA[4]
RSTC5STATUSA[5]INTFLAGA[5]
OSCCTRL6STATUSA[6]INTFLAGA[6]
OSC32KCTRL7STATUSA[7]INTFLAGA[7]
GCLK8STATUSA[8]INTFLAGA[8]
MCLK9STATUSA[9]INTFLAGA[9]
FREQM10STATUSA[10]INTFLAGA[10]
WDT11STATUSA[11]INTFLAGA[11]
RTC12STATUSA[12]INTFLAGA[12]
EIC13STATUSA[13]INTFLAGA[13]
PAC14STATUSA[14]INTFLAGA[14]
DRMTCM15STATUSA[15]INTFLAGA[15]
MCRAMC-APB16STATUSA[16]INTFLAGA[16]
MCRAMC-AHB0N/AINTFLAGAHB[4]
MCRAMC-AHB1N/AINTFLAGAHB[5]
MCRAMC-AHB2N/AINTFLAGAHB[6]
MCRAMC-AHB3N/AINTFLAGAHB[7]
TRAM17STATUSA[17]INTFLAGA[17]
PORT18STATUSA[18]INTFLAGA[18]
DMAC19STATUSA[19]INTFLAGA[19]
BROMC21STATUSA[21]

INTFLAGA[21],

INTFLAGAHB[8]

EVSYS22STATUSA[22]INTFLAGA[22]
SERCOM023STATUSA[23]INTFLAGA[23]
SERCOM124STATUSA[24]INTFLAGA[24]
SERCOM225STATUSA[25]INTFLAGA[25]
SERCOM326STATUSA[26]INTFLAGA[26]
SERCOM427STATUSA[27]INTFLAGA[27]
SERCOM528STATUSA[28]INTFLAGA[28]
SERCOM629STATUSA[29]INTFLAGA[29]
SERCOM730STATUSA[30]INTFLAGA[30]
SERCOM831STATUSA[31]INTFLAGA[31]
SERCOM932STATUSB[0]INTFLAGB[0]
TCC033STATUSB[1]INTFLAGB[1]
TCC134STATUSB[2]INTFLAGB[2]
TCC235STATUSB[3]INTFLAGB[3]
TCC336STATUSB[4]INTFLAGB[4]
TCC437STATUSB[5]INTFLAGB[5]
TCC538STATUSB[6]INTFLAGB[6]
TCC639STATUSB[7]INTFLAGB[7]
TCC740STATUSB[8]INTFLAGB[8]
TCC841STATUSB[9]INTFLAGB[9]
TCC942STATUSB[10]INTFLAGB[10]
ADC43STATUSB[11]INTFLAGB[11]
AC44STATUSB[12]INTFLAGB[12]
PTC45STATUSB[13]INTFLAGB[13]
SPI_IXS046STATUSB[14]INTFLAGB[14]
SPI_IXS147STATUSB[15]INTFLAGB[15]
CAN048STATUSB[16]INTFLAGB[16]
CAN149STATUSB[17]INTFLAGB[17]
CAN250STATUSB[18]INTFLAGB[18]
CAN351STATUSB[19]INTFLAGB[19]
CAN452STATUSB[20]INTFLAGB[20]
CAN553STATUSB[21]INTFLAGB[21]
RSVD -54STATUSB[22]INTFLAGB[22]
RSVD 55STATUSB[23]INTFLAGB[23]
GMAC56STATUSB[24]INTFLAGB[24]
SQI057STATUSB[25]INTFLAGAHB[9]
SQI158STATUSB[26]INTFLAGAHB[10]
TRNG59STATUSB[27]INTFLAGB[27]
SDHC060STATUSB[28]INTFLAGB[28]
SDHC161STATUSB[29]INTFLAGB[29]
HSUSB062N/AINTFLAGAHB[11]
HSUSB163N/AINTFLAGAHB[12]
EBI64N/AINTFLAGAHB[13]
RSVD65N/AN/A
MLB66STATUSC[2]INTFLAGC[2]
NVMWFT68STATUSC[4]INTFLAGC[4]
MBIST69STATUSC[5]INTFLAGC[5]
CM7-AHBS N/AINTFLAGAHB[15]