USB Libraries Help > USB Device Libraries > USB Device Layer Library > Library Interface > g) Data Types and Constants > USB_DEVICE_INDEX_0 Macro
MPLAB Harmony USB Stack
USB_DEVICE_INDEX_0 Macro

USB Device Layer Index Numbers 

These constants provide USB device layer index definitions.

C
#define USB_DEVICE_INDEX_0 0
Remarks

These constants should be used in place of hard-coded numeric literals. These values should be passed into the USB_DEVICE_Initialize and USB_DEVICE_Open routines to identify the device layer instance in use.