4.2.24.2 GPIO Direction

Name: DIR
Offset: 0x2108
Reset: Loaded from NVM
Property: R/W

Bit 15141312111098 
    DIR[12:8] 
Access R/WR/WR/WR/WR/W 
Reset xxxxx 
Bit 76543210 
 DIR[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset xxxxxxxx 

Bits 12:0 – DIR[12:0] GPIO direction

This bit field controls the direction for each GPIOn pin.
ValueDescription
0Configure the GPIOn pin as an output
1Configure the GPIOn pin as an input