stmfx_pinconf_get_type
type = stmfx_pinconf_get_type(pctl, pin);
type = stmfx_pinconf_get_type(pctl, offset);