Jump to main content

##

# 2.5.3.1 USB_DEVICE_CDC_INSTANCES_NUMBER Macro

## C

    #define USB_DEVICE_CDC_INSTANCES_NUMBER

## Summary

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.