void platform_release_pin(int pin);
platform_release_pin releases a pin for reuse and reconfiguration. Pins that are successfully claimed with PIN_CLAIM_FIXED or PIN_CLAIM_FIXED are never released.
This function is be useful when a pin needs to be reconfigured on the fly. For instance, some resistive panels read a touch position on one axis using analog input and require a potential difference applied on the perpendicular axis using digital outputs. When reading the touch position on the perpendicular axis, the roles of digital output and analog inputs are switched, requiring a reconfiguration of each of the pins from analog to digital and vice versa.