User's Manual

 35
Programming Considerations
D02 DIR
Controls the pin direction when the FUNC field is
configured for GPIO mode, function #3.
0 Input
1 Output
All GPIO pins reset to the input state.
Note: The pin direction is controlled by the selected
function in modes #0 through #2.
D01 INV
Controls the inversion function of the GPIO pin.
0 Disables the inversion function
1 Enables the inversion function
This bit applies to all functional modes.
D00 PUDIS
Controls the GPIO pin pullup resistor operation.
0 Enables the pullup
1 Disables the pullup
Note: The pullup cannot be disabled on GPIO[9],
GPIO[12]
GPIO Configuration
Setings using bits D07:00