Beginner question on what constitutes a device USB interface
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-08-24 9:00 AM
Posted on August 24, 2016 at 18:00
Been reading through the USB document and going through the codes but still having a bit of trouble grasping the concept of an interface.
What would constitute an ''interface''? Does it encapsulate a class with the associated class methods? Where in the code does it bind the ''interface'' to the class? When the host request for an ''interface'', what would it get in return or what would be the purpose of asking for an interface? For example, if a device declares that it has three interface, how does it associates each interface to the actual firmware codes? Thanks.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-08-30 6:57 AM
Posted on August 30, 2016 at 15:57
Hello vu.andy,
Can you show a reference to the interface you are seeing within the documentation? This should help anyone clarify the meaning or help out with ambiguous documentation.