Synopsis
CTL_STATUS_t platform_claim_pin(int pin,
                                int function);
Description

platform_claim_pin attempts to claim the pin pin for function function. The function parameter is the inclusive-or of a PLATFORM_PIN_CLAIM_t constant and a PLATFORM_PIN_FUNCTION_t constant.

Return Value

platform_claim_pin returns a standard status code.

See Also

platform_claim_pin_configuration, platform_release_pin