Need clarification on USB g_compositeDeviceConfigList.count

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Need clarification on USB g_compositeDeviceConfigList.count

566件の閲覧回数
michaelhuslig
Contributor IV

The MCUXpresso SDK USB Stack Composite Device User's Guide, section 4.2, says the config list count should be the number of classes in the composite device.  It shows as example MSD+CDC is 2 classes.

Shouldn't CDC+CDC be 1 class?  The SDK example twrk22f120m_dev_composite_cdc_vcom_cdc_vcom_freertos shows it as 2.

0 件の賞賛
1 返信

440件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi MICHAEl:

CDC+CDC is two classes, usb stack will need allocate more memory. You can consider it as the count of classes rather than the type of  classes.

Regards

Daniel

0 件の賞賛