Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] USB Mass Storage and Serial Device

2006-02-15 by Clyde Stubbs

On Tue, Feb 14, 2006 at 07:00:39PM +0100, Bertrik Sikken wrote:
> Can a USB device be programmed to be two devices at once?

Yes, this is known as a "composite" device. It will have two or
more interfaces within a configuration. Each interface associates
with a specific device driver on the host.

A composite device uses the same control endpoint (endpoint 0)
for all of its interfaces, so the number of endpoints required is
less than the sum of the endpoints that separate devices would
require.


Clyde

-- 
Clyde Stubbs                     |            HI-TECH Software
Email: clyde@...          |          Phone            Fax
WWW:   http://www.htsoft.com/    | USA: (408) 490 2885  (408) 490 2885
PGP:   finger clyde@...   | AUS: +61 7 3722 7777 +61 7 3722 7778
---------------------------------------------------------------------------
HI-TECH C: compiling the real world.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.