Descriptions and Classes
Descriptions and Classes
Device
(example shown here is ‘composite’ device with multiple I/F’s)
What Do You Want to Transmit?
USB devices describe one (or more) Interfaces to transmit information
Typical interface examples:
Creating a Virtual COM port requires 2-in and 1-out endpoints
Human interface devices (mice/keyboards) require 1-in/1-out
Memory devices also require 1-in/1-out
EP0 EP0
…
EP1 EP1 EP7 EP7
Setup &
Control
EP2
Virtual
COM Port
EP6
EP6
Mouse Keyboard
Device Descriptors
Configuration
Interface(s)
Endpoint(s)
Device(example shown here is ‘composite’ device with multiple I/F’s)
What Do You Want to Transmit?
USB devices describe one (or more) Interfaces to transmit information
Typical interface examples:
Creating a Virtual COM port requires 2-in and 1-out endpoints
Human interface devices (mice/keyboards) require 1-in/1-out
Memory devices also require 1-in/1-out
USB devices must describe their themselves using device descriptors
Host must match descriptors (at run time) with host-side device drivers
MSP430 supports a single configuration with
one or more interfaces
EP0 EP0
…
EP1 EP1 EP7 EP7
Setup &
Control
EP2
Virtual
COM Port
EP6 EP6
Mouse Keyboard
Device Descriptors
Configuration
Interface(s)
Endpoint(s)
7 - 14 MSP430 Workshop - USB Devices