hcdPipeDisconnect

Purpose

Disconnects from a device pipe.

Syntax

#include <hcdi.h>
USBstatus hcdPipeDisconnect(pHCDI, hpipe)
PHCDI pHCDI;
USBhandle hpipe; 

Parameter

Item Description
pHCDI Pointer to the HCDI structure.
phpipe Pipe handles returned by hcdConnectPipe function.

Description

This function is an HCD supplied function that is called by the USBD to disconnect from a device pipe. The function is called only after all the I/O operations on the specified pipe is completed or is aborted.

Execution Environment

This function can only be called from within the process environment.

Return Values

Value Description
USBD_SUCCESS Success
All others Failure