Synopsis
CTL_STATUS_t platform_claim_pin_configuration(const PLATFORM_PIN_CONFIGURATION_t *pins);
Description

platform_claim_pin_configuration iterates over the list of pins pins and attempts to claim each entry's pin using its corresponding mode using platform_claim_pin.

The pin list pins must be terminated by PLATFORM_END_OF_LIST in the pin member of the final PLATFORM_PIN_CONFIGURATION_t. If a pin cannot be configured, platform_claim_pin_configuration immediately returns the status.

Return Value

platform_claim_pin_configuration returns a standard status code.

See Also

platform_claim_pin, platform_release_pin