General-purpose input-outputs is NOT Standardized and varies based on the platform or vendor.
General-purpose input-output pins have no predefined purpose, and go unused by default.
General-purpose input-output's idea is that sometimes a system integrator who is building a full system might need a handful of additional digital control lines—and having these available from a chip avoids having to arrange additional circuitry to provide them.