Data Sheet
390
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
22.8.1 Data Direction
Name: DIR
Offset: 0x00+x*0x80 [x=0..2]
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.
Bit 3130292827262524
DIR[31:24]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit 2322212019181716
DIR[23:16]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit 151413121110 9 8
DIR[15:8]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000
Bit 76543210
DIR[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000