steve Langstaff
|
USB: insertion callbacks for devices with multiple interfaces
|
steve Langstaff
06/24/2010 8:42 AM
post57769
|
USB: insertion callbacks for devices with multiple interfaces
Hi All.
I am a bit confused about support for USB devices with multiple interfaces - the short version of my question is whether
the USB stack supports multiple concurrent interfaces on a single device?
I have used usbd_connect(), and it appears that I get an insertion callback for *each* interface of my device.
In each insertion callback I can use usbd_attach() to get a "device descriptor" - these "device descriptor"s appear to
have unique addresses, so is that really a device descriptor, or has it (already) been tied to the interface in some way
?
Do I need to call usbd_select_interface() on each "device descriptor" ?
|
|
|