Hello Eric Chen:
- For digital-only pins the default state is as DISABLED (high impedance).
- For pins with an analog functionality, those acquire their analog function.
You can refer to the chapter "K21 Signal Multiplexing and Pin Assignments" in the Reference Manual to see which pins are digital, analog or digital + analog.
If you mean the value of the GPIO registers out of reset, then that information is in each register description, again in the reference manual. e.g. for the GPIOx_PDOR register:

None of the above behaviors can be changed.
In case you cannot find the reference manual in our webpage, please let me know the full part number of your K21 device.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------