4.4.7.2.1 USB_TransferAbort()

RETURN_CODE_t USB_TransferAbort (USB_PIPE_t pipe)

Aborts an ongoing transfer.

Will call the pipe transferEndCallback with the abort status, if configured.

Parameters:
pipe

- A combination of endpoint address and direction

Returns:

SUCCESS or an Error code according to RETURN_CODE_t