USB Libraries Help > USB Device Libraries > USB MSD Device Library > Configuring the Library > USB_DEVICE_MSD_INSTANCES_NUMBER Macro
MPLAB Harmony USB Stack
USB_DEVICE_MSD_INSTANCES_NUMBER Macro

MSD Function Driver Instances Number 

This configuration constant defines the number of MSD Function Driver instances in the USB Device. This value should be atleast 1 if the MSD function is required. In case where multiple MSD function drivers are required, it should be noted the MSD function driver supports multiple LUNs. This allows one MSD function driver instance to manage multiple media. Using multiple LUNs can be considered as an alternative to using multiple MSD function driver instances.

C
#define USB_DEVICE_MSD_INSTANCES_NUMBER 1
Remarks

None.