Datasheet

Table Of Contents
291
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
21.8.1 Data Direction
Name: DIR
Offset: 0x00+x*0x80 [x=0..1]
Reset: 0x00000000
Property: Write-Protected
z Bits 31:0 – DIR[31:0]: Port Data Direction
These bits set the data direction for the individual I/O pins in the PORT group.
0: The corresponding I/O pin in the group is configured as an input.
1: The corresponding I/O pin in the group is configured as an output.
Bit3130292827262524
DIR[31:24]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000
Bit2322212019181716
DIR[23:16]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000
Bit151413121110 9 8
DIR[15:8]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000
Bit76543210
DIR[7:0]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000