RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

USBServiceCall Block

Programmer's Reference Manuals
» Part 16 – Service Calls
» Service_USBDriver
» USBServiceCall Block

USBServiceCall Block

Offset Contents
+0 Sum length of the block including the appended descriptors
+2 Offset to the descriptors
+4 Device name as appears in DeviceFS, NULL terminated
+24 Bus number, 0-255
+25 USB address, 1-127
+26 USB address of upstream port 0-127
+27 Port on host address
+28 Device speed (0=full, 1=low, 2=high)
+29 Reserved
+30 Reserved
+31 Reserved
+n Device descriptors per USB 1.1 specification http://www.usb.org/

Notes

A USB device is completely described by the block (or list of blocks) pointed to by R2 in the USB service calls. The USBServiceCall includes a copy of the device descriptor, followed immediately by zero or more descriptors. A length byte of zero marks the end of the block, which is then padded with zeros to achieve word alignment.

See also

  • Service Calls
  • Service_USBDriver
Created on December 13, 2009 11:22:29 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Service_USBDriver, Service_USBDriver 0, Service_USBDriver 1

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys