3.2.4.18 USB_HOST_INIT Structure

C

typedef struct {
  size_t nTPLEntries;
  USB_HOST_TPL_ENTRY * tplList;
  USB_HOST_HCD * hostControllerDrivers;
} USB_HOST_INIT;

Summary

USB Host Initialization Data Structure

This data type defines the data required to initialize the host layer. A pointer to a structure of this type is required by the USB_HOST_Initialize() function.

Members

Members Description
size_t nTPLEntries; Size of the TPL table.
USB_HOST_TPL_ENTRY * tplList; Pointer to the TPL table for this host layer implementation.
USB_HOST_HCD * hostControllerDrivers; This is a pointer to a table of host controller drivers that the host layer will operate on. The number of entries in this table is specified via the USB_HOST_CONTROLLERS_NUMBER configuration macro in system_config.h.

Remarks

This data structure is specific to the PIC32MX and PIC32WK implementation of the USB Host layer.