CTL_STATUS_t platform_private_find_pin_connection(const PLATFORM_PIN_CONFIGURATION_t *list, int function);
platform_private_find_pin_connection searches the list of pins in list for a match on the function function.
If a pin with matching function is found in the list, platform_private_find_pin_connection returns the pin member of the pin configuration structure. If the pin is not found or the list is empty, platform_private_find_pin_connection returns CTL_UNSUPPORTED_OPERATION.