4.4.15.3.7 USB_EndpointDisable()

RETURN_CODE_t USB_EndpointDisable (USB_PIPE_t pipe)

Disables the endpoint by setting the endpoint type to 0x00.

Parameters:
pipe

- A combination of endpoint address and direction

Returns:

SUCCESS or an Error code according to RETURN_CODE_t