USB Libraries Help > USB Device Libraries > USB CDC Device Library > Configuring the Library > USB_DEVICE_CDC_INSTANCES_NUMBER Macro
MPLAB Harmony USB Stack
USB_DEVICE_CDC_INSTANCES_NUMBER Macro

USB device CDC Maximum Number of instances 

This macro defines the number of instances of the CDC Function Driver. For example, if the application needs to implement two instances of the CDC Function Driver (to create two COM ports) on one USB Device, the macro should be set to 2. Note that implementing a USB Device that features multiple CDC interfaces requires appropriate USB configuration descriptors.

C
#define USB_DEVICE_CDC_INSTANCES_NUMBER 
Remarks

None.