12.6.1 Write Control

Note: Refer to Configuration Summary chapter for the list of peripherals or instances of the peripherals present in each variant.
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
0x0 OFF No action
0x1 CLR Clear the peripheral write control
0x2 SET Set the peripheral write control
0x3 SETLCK Set 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.

Note: Refer to the Configuration Summary chapter for the list of peripherals and peripheral instances present in each variant.
Table 12-1. Peripheral Identifier
Peripheral Identifier
APBA Peripherals
PAC 0
PM 1
MCLK 2
RSTC 3
OSCCTRL 4
OSC32KCTRL 5
SUPC 6
GCLK 7
WDT 8
RTC 9
EIC 10
FREQM 11
MCRAMC 12
APBB Peripherals
PORT 32
DSU 33
NVMCTRL 34
DMAC 35
MTB 36
APBC Peripherals
EVSYS 64
SERCOM0 65
SERCOM1 66
SERCOM2 67
SERCOM3 68
SERCOM4 69
SERCOM5 70
CAN0 71
CAN1 72
TCC0 73
TCC1 74
TCC2 75
TC0 76
TC1 77
TC2 78
TC3 79
TC4 80
ADC0 81
ADC1 82
AC 83
DAC 84
PTC 85
CCL 86
ICM 89
PDEC 90
SMBIST 91
APBD Peripherals
SERCOM6 96
SERCOM7 97
TC5 98
TC6 99
TC7 100