• Home
  • Computers
  • USB Complete: The Developer's Guide (Complete Guides series)

USB Complete: The Developer's Guide (Complete Guides series)

By Jan Axelson

Now in its 5th version, USB entire bridges the space among the technical standards and the true international of designing and programming units that attach over the common Serial Bus (USB). the right way to opt for a USB velocity, gadget category, and for a layout; speak with units utilizing visible C#; use commonplace host drivers to entry units, together with units that practice vendor-defined initiatives; shop strength with USB's integrated power-conserving protocols; and create powerful designs utilizing checking out and debugging instruments. This totally revised version additionally covers SuperSpeed and SuperSpeedPlus (USB 3.1), instant thoughts, and USB OTG and embedded hosts.

Table of Contents
Introduction
1. USB Basics
2. inside of USB Transfers
3. A move kind for each Purpose
4. Enumeration: How the Host Learns approximately Devices
5. keep an eye on Transfers: based Requests for severe Data
6. Chip Choices
7. gadget Classes
8. How the Host Communicates
9. Matching a driving force to a Device
10. Detecting Devices
11. Human Interface units: Capabilities
12. Human Interface units: Reports
13. Human Interface units: Host Application
14. utilizing WinUSB for Vendor-Defined Functions
15. utilizing WinUSB's approach INF File
16. utilizing Hubs to increase and extend the Bus
17. dealing with Power
18. checking out and Debugging
19. Packets at the Bus
20. electric and Mechanical Interface
21. Hosts for Embedded Systems

Show description

Quick preview of USB Complete: The Developer's Guide (Complete Guides series) PDF

Show sample text content

220 /CVEJKPI C &TKXGT VQ C &GXKEG 7UKPI VJG &GXKEG /CPCIGT Viewing units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224 estate Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 &GXKEG +PHQTOCVKQP KP VJG 4GIKUVT[ The Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 the category Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 the driving force Key. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 The carrier Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 +PUKFG +0( (KNGU constitution and Syntax. . . . . . . . . . . . . . . . . . . . . . . . . . .

Ninety nine Device_Qualifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Other_Speed_Configuration . . . . . . . . . . . . . . . . . . . . . . . . one hundred and five Interface organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred and five Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred ten SuperSpeed Endpoint better half . . . . . . . . . . . . . . . . . . . 112 String . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Binary item shop and equipment power . . . . .

Lvr. com %QORQPGPVU QH C seventy five$ &GXKEG each USB equipment should have the intelligence to become aware of and reply to requests and different occasions on the USB port. A programmed microcontroller or an appli- cation-specific built-in circuit (ASIC) can practice those capabilities in a gadget. Device-controller chips differ in how they enforce USB communications and in how a lot firmware aid the communications require. a few controllers require little greater than getting access to buffers to supply and retrieve USB information.

457 Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457 'PUWTKPI 5KIPCN 3WCNKV[ assets of Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462 Balanced traces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462 Twisted Pairs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 protective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 area premiums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464 remoted Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465 )QKPI 9KTGNGUU qualified instant USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466 Cypress WirelessUSB.

In USB communications, an URB requests a USB move which may include a number of transactions. The lower-level drivers agenda the transfer’s transac- tions with out requiring extra communications with the customer motive force. If you’re utilizing an present consumer motive force (rather than writing your own), you wish to appreciate tips on how to entry the driver’s application-level interface, yet you don’t need to challenge your self with IRPs and URBs. If you’re writing a shopper motive force, you want to give you the IRPs that speak with the system’s USB drivers.

Download PDF sample

Rated 4.23 of 5 – based on 23 votes