3.1. Introduction

This Module provides support calls for the USB system. Every call here can be implemented using discrete calls from the "core" module and structure manipulation.

The SWIs here adhere to the standard RISC OS error reporting mechanism. A Call returning with the V flag set indicates that the data pointed to by R0 on exit is an error block and the call has failed

The SWIs provided here break down into three general categories

Interfacing to functionality similar to the C API
Creation of standard structures E.G. waiting structures
Manipulation of standard structures

Where appropriate links will be provided to their equivalents in the RISC OS USB C API.