Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Data Sheet

Product codes
ATSAMD20-XPRO
Page of 660
301
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
21.8.11 Write Configuration
This write-only register is used to configure several pins simultaneously with the same configuration and/or peripheral 
multiplexing.
In order to avoid the side effect of non-atomic access, 8-bit or 16-bit writes to this register will have no effect. Reading this 
register always returns zero.
Name:
WRCONFIG
Offset:
0x28+x*0x80 [x=0..1]
Reset:
0x00000000
Property:
Write-Protected
z
Bit 31 – HWSEL: Half-Word Select
This bit selects the half-word field of a 32-pin group to be reconfigured in the atomic write operation.
0: The lower 16 pins of the PORT group will be configured.
1: The upper 16 pins of the PORT group will be configured.
This bit will always read as zero.
z
Bit 30 – WRPINCFG: Write PINCFG
This bit determines whether the atomic write operation will update the Pin Configuration register (PINCFGy) or not 
for all pins selected by the WRCONFIG.PINMASK and WRCONFIG.HWSEL bits.
0: The PINCFGy registers of the selected pins will not be updated.
1: The PINCFGy registers of the selected pins will be updated.
Writing a zero to this bit has no effect.
Bit
31
30
29
28
27
26
25
24
HWSEL
WRPINCFG
WRPMUX
PMUX[3:0]
Access
W
W
R
W
W
W
W
W
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
DRVSTR
PULLEN
INEN
PMUXEN
Access
R
W
R
W
W
W
W
W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
PINMASK[15:8]
Access
W
W
W
W
W
W
W
W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
PINMASK[7:0]
Access
W
W
W
W
W
W
W
W
Reset
0
0
0
0
0
0
0
0