hcdUnregisterHC
Purpose
Closes the communication channel between the USBD and a specific host controller.
Syntax
#include <hcdi.h>
USBstatus hcdUnregisterHC(pHCDI)
PHCDI pHCDI;
Parameter
Item | Description |
---|---|
pHCDI | Pointer to the HCDI structure. |
Description
This function is an HCD supplied function that is called by the USBD when the USBD is unconfigured. It closes the communication channel that is opened through the HCD_REGISTER_HC fp_ioctl. All pipes that are associated with the host controller are disconnected before this vector call is made.
Execution Environment
This function can only be called from within the process environment.
Return Values
Value | Description |
---|---|
USBD_SUCCESS | Success |
All others | Failure |