CTL_STATUS_t platform_claim_multi_pin(const unsigned char *pins,
                                      int function);

platform_claim_multi_pin iterates over the list of pins pins and attempts to claim each for function using platform_claim_pin.

The pin list pins must be terminated by PLATFORM_END_OF_LIST. If any pin cannot be claimed, platform_claim_multi_pin immediately returns the status.

Return Value

platform_claim_multi_pin returns a standard status code.

See Also

platform_claim_pin_configuration, platform_release_pin