USB Libraries Help > USB Host Libraries > USB Host Layer Library > Library Interface > b) Data Types and Constants > USB_HOST_HCD Structure
MPLAB Harmony USB Stack
USB_HOST_HCD Structure

USB Host Controller Driver Information 

This data type defines the data required to connect a Host Controller Driver to the host layer. The USB Host layer used the HCD routines to access the root hub and the USB.

C
typedef struct {
  SYS_MODULE_INDEX drvIndex;
  void * hcdInterface;
} USB_HOST_HCD;
Members
Members 
Description 
SYS_MODULE_INDEX drvIndex; 
Index of the USB Host Controller driver that the host layer should open and use. 
void * hcdInterface; 
USB Host Controller Driver function pointers 
Remarks

This data structure is specific to the PIC32 implementation of the USB Host layer.