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 | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
KEY[7:0] | |||||||||
Access | RW | RW | RW | RW | RW | RW | RW | RW | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
PERID[15:8] | |||||||||
Access | RW | RW | RW | RW | RW | RW | RW | RW | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PERID[7:0] | |||||||||
Access | RW | RW | RW | RW | RW | RW | RW | RW | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 23:16 – KEY[7:0] Peripheral Access Control Key
These bits define the peripheral access control key:
Value | Name | Description |
---|---|---|
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.
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 |