Configuration of the USB Host CDC Class.
Configuration of the USB Host CDC Class.
CDC Class Configuration File
The USB Host CDC Class configuration file USBH_Config_CDC.h contains the following settings:
- Number of concurrent CDC Devices in system specifies the number of CDC devices that will be supported.
- OS Resource Settings
- CDC Interrupt In Pipe (modem and error status reception) handling Thread Stack Size specifies the thread stack size for the thread that polls the interrupt endpoint of the CDC.
- The default CDC Interrupt In Pipe handling Thread priority is osPriorityAboveNormal. This priority can be changed by changing USBH_CDC_INT_IN_THREAD_PRIORITY define in this configuration file. This priority needs to be high enough so that USB Stack can react to USB events in a timely manner. Due to this requirement it is recommended to keep this setting at default.