27.4.1 Initialization
After reset, all standard function device I/O pads are connected to the PORT with outputs tri-stated and input buffers disabled, even if no clock is running.
However, specific pins, such as those used for connection to a debugger, may be configured differently as required by their special function.
To configure pin n in PORT group x as an output and control the output drive level:
- Set the direction (DIR[n]).
- Configure the drive level (OUT[n]).
To configure pin n in PORT group x as an input and read the input pin level:
- Enable the input buffer (PINCFG[n].INEN).
- Read the input level (IN[n]).
