Chapter 2. Core SWI Calls
Prev
RISC OS USB SWI API
Next
Chapter 2. Core SWI Calls
Table of Contents
USB_EndpointRegister (SWI &55380)
- Installs a new endpoint for a given device.
USB_EndpointDeregister (SWI&55381)
- Removes a given endpoint.
USB_DeviceRegister (SWI&55382)
- Register a device
USB_DeviceDeregister (SWI&55383)
- Removes a given device.
USB_ControllerRegister (SWI&55384)
- Installs a new USB host controller.
USB_ControllerDeregister (SWI&55385)
- De register a host controller
USB_ReferenceDeregister (SWI&55386)
- Deregisters a reference to an object.
USB_FindObject (SWI&55387)
- Find the address of an object.
USB_ManageDeviceAddresses (SWI&55388)
- Manages device addresses.
USB_BufferMalloc (SWI&55389)
- Allocates a URB for USB requests.
USB_BufferFree (SWI&5538A)
- Releases a URB.
USB_PipeOpen (SWI&5538B)
- Opens a pipe for data transfer for a given endpoint.
USB_PipeClose (SWI&5538C)
- Closes a pipe
USB_PipeClear (SWI&5538D)
- Aborts all requests for the specified pipe.
USB_PipeHalt (SWI&5538E)
- Halts specified pipe.
USB_RequestStart (SWI&5538F)
- Starts a transaction on the specified pipe.
USB_RequestGetState (SWI&55390)
- Checks the actual state of a request.
USB_FrameSyncNumber (SWI&55391)
- Tells the USB Module the current USB frame number for a given USB host controller driver.
USB_TransactionGetPending (SWI&55392)
- Gets one of the remaining transactions of a request which consists of several transactions.
USB_RequestGetPending (SWI&55393)
- Gets the next request which can be processed at a given frame for a given host controller from given transfer queues.
USB_TransactionResult (SWI&55394)
- Passes the control over a transaction back to the USB module with a result.
USB_FastAccessInformation (SWI&55395)
- Fills an array with function addresses of some USB-Module functions.
USB_EndpointInformation (SWI&55396)
- Returns information about a given endpoint.
USB_TransactionTracking (SWI&55397)
- Track transactions.
USB_MsgSend (SWI&55398)
- Send a message
USB_MsgOp (SWI&55399)
- Message operations
USB_MiscOp (SWI&5539A)
- Internal Use ONLY
USB_WaitingInform (SWI&5539B)
- Internal Use ONLY
USB_Version (SWI&5539C)
- Reports the USB systems version number.
The USB system provides an general API using SWI calls