4.4.3.2.4 DescriptorEndpointsConfigure()

RETURN_CODE_t DescriptorEndpointsConfigure (USB_INTERFACE_DESCRIPTOR_t * interfacePtr, bool enable)

Configures the endpoints as given in the descriptor.

Parameters:
*interfacePtr

- Pointer to an interface

enable

- Boolean to enable or disable the endpoint

Returns:

SUCCESS or an Error code according to RETURN_CODE_t