USBCalls: Difference between revisions
Appearance
m →Links: unfug |
|||
(16 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The USBCalls API is a set of instructions to help the developer communicate to USB devices. | The USBCalls API is a set of instructions to help the developer communicate to USB devices. | ||
==File== | ==File== | ||
* [[USBCALLS.DLL]] | * [[USBCALLS.DLL]] | ||
;License | |||
* Freeware Runtime. | * Freeware Runtime. | ||
Line 50: | Line 45: | ||
* [[UsbStartIsoTransfer]] | * [[UsbStartIsoTransfer]] | ||
* [[UsbCancelTransfer]] | * [[UsbCancelTransfer]] | ||
</div> | |||
==USBCALLS Macros== | |||
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | |||
===Device Control Requests=== | |||
* [[UsbDeviceGetConfiguration]] | |||
* [[UsbDeviceSetConfiguration]] | |||
* [[UsbDeviceGetStatus]] | |||
* [[UsbDeviceClearFeature]] | |||
* [[UsbDeviceSetFeature]] | |||
* [[UsbDeviceSetAddress]] | |||
===Interface Control requests=== | |||
* [[UsbInterfaceGetAltSetting]] | |||
* [[UsbInterfaceSetAltSetting]] | |||
* [[UsbInterfaceGetStatus]] | |||
* [[UsbInterfaceClearFeature]] | |||
* [[UsbInterfaceSetFeature]] | |||
===Endpoint Control Requests=== | |||
* [[UsbEndpointGetStatus]] | |||
* [[UsbEndpointClearHalt]] | |||
* [[UsbEndpointClearFeature]] | |||
* [[UsbEndpointSetFeature]] | |||
* [[UsbEndpointSynchFrame]] | |||
===Descriptor Requests=== | |||
* [[UsbDeviceGetDescriptor]] | |||
* [[UsbConfigurationGetDescriptor]] | |||
* [[UsbStringGetDescriptor]] | |||
* [[UsbDeviceSetDescriptor]] | |||
* [[UsbConfigurationSetDescriptor]] | |||
* [[UsbStringSetDescriptor]] | |||
</div> | |||
==REXX Support== | |||
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3"> | |||
===Init=== | |||
* [[UsbLoadFuncs]] | |||
* [[UsbDropFuncs]] | |||
* [[RxUsbQueryVersion]] | |||
===Device Handle=== | |||
* [[RxUsbOpen]] | |||
* [[RxUsbClose]] | |||
* [[RxUsbQueryDeviceReport]] | |||
* [[RxUsbQueryStringReport]] | |||
* [[RxUsbQueryDeviceInfo]] | |||
===Device Number=== | |||
* [[RxUsbQueryNumberDevices]] | |||
* [[RxUsbQueryDeviceReport]] | |||
* [[RxUsbQueryDeviceInfo]] | |||
===Control=== | |||
* [[RxUsbCtrlMessage]] | |||
* [[RxUsbCtrlTransfer]] | |||
====Easy Device Control==== | |||
* [[RxUsbDeviceGetConfiguration]] | |||
* [[RxUsbDeviceSetConfiguration]] | |||
* [[RxUsbDeviceGetStatus]] | |||
* [[RxUsbDeviceClearFeature]] | |||
* [[RxUsbDeviceSetFeature]] | |||
* [[RxUsbDeviceSetAddress]] | |||
====Easy Interface Control==== | |||
* [[RxUsbInterfaceGetAltSetting]] | |||
* [[RxUsbInterfaceSetAltSetting]] | |||
* [[RxUsbInterfaceGetStatus]] | |||
* [[RxUsbInterfaceClearFeature]] | |||
* [[RxUsbInterfaceSetFeature]] | |||
====Easy Endpoint Control==== | |||
*[[RxUsbEndpointGetStatus]] | |||
*[[RxUsbEndpointClearHalt]] | |||
*[[RxUsbEndpointClearFeature]] | |||
*[[RxUsbEndpointSetFeature]] | |||
*[[RxUsbEndpointSynchFrame]] | |||
===Data Transfer=== | |||
*[[RxUsbDataTransfer]] | |||
*[[RxUsbBulkRead]] | |||
*[[RxUsbIrqRead]] | |||
*[[RxUsbBulkWrite]] | |||
*[[RxUsbIrqWrite]] | |||
===Descriptors=== | |||
*[[RxUsbDeviceGetDescriptor]] | |||
*[[RxUsbConfigurationGetDescriptor]] | |||
*[[RxUsbStringGetDescriptor]] | |||
*[[RxUsbDeviceSetDescriptor]] | |||
*[[RxUsbConfigurationSetDescriptor]] | |||
*[[RxUsbStringSetDescriptor]] | |||
=== | ===Notifications=== | ||
* [[ | *[[RxUsbRegisterDeviceNotification]] | ||
* [[ | *[[RxUsbRegisterChangeNotification]] | ||
* [[ | *[[RxUsbDeregisterNotification]] | ||
</div> | </div> | ||
==Links== | ==Links== | ||
* [http://trac.netlabs.org/usb Netlabs USB Project] | *USBCALLS Toolkit [http://88watts.net/download/UsbCallsToolkit.zip] | ||
* [https:// | *[http://trac.netlabs.org/usb Netlabs USB Project] | ||
*[https://www.arcanoae.com/wiki/usb/ Arca Noae Wiki - The USB Subsystem] | |||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Latest revision as of 01:07, 18 January 2020
The USBCalls API is a set of instructions to help the developer communicate to USB devices.
File
- License
- Freeware Runtime.
USBCALLS Functions
System Information
PNP Notification
Access Device
Control Transfer
Data Transfer
Isochronous
Asynchronous
USBCALLS Macros
Device Control Requests
- UsbDeviceGetConfiguration
- UsbDeviceSetConfiguration
- UsbDeviceGetStatus
- UsbDeviceClearFeature
- UsbDeviceSetFeature
- UsbDeviceSetAddress
Interface Control requests
- UsbInterfaceGetAltSetting
- UsbInterfaceSetAltSetting
- UsbInterfaceGetStatus
- UsbInterfaceClearFeature
- UsbInterfaceSetFeature
Endpoint Control Requests
- UsbEndpointGetStatus
- UsbEndpointClearHalt
- UsbEndpointClearFeature
- UsbEndpointSetFeature
- UsbEndpointSynchFrame
Descriptor Requests
REXX Support
Init
Device Handle
Device Number
Control
Easy Device Control
- RxUsbDeviceGetConfiguration
- RxUsbDeviceSetConfiguration
- RxUsbDeviceGetStatus
- RxUsbDeviceClearFeature
- RxUsbDeviceSetFeature
- RxUsbDeviceSetAddress
Easy Interface Control
- RxUsbInterfaceGetAltSetting
- RxUsbInterfaceSetAltSetting
- RxUsbInterfaceGetStatus
- RxUsbInterfaceClearFeature
- RxUsbInterfaceSetFeature
Easy Endpoint Control
- RxUsbEndpointGetStatus
- RxUsbEndpointClearHalt
- RxUsbEndpointClearFeature
- RxUsbEndpointSetFeature
- RxUsbEndpointSynchFrame
Data Transfer
Descriptors
- RxUsbDeviceGetDescriptor
- RxUsbConfigurationGetDescriptor
- RxUsbStringGetDescriptor
- RxUsbDeviceSetDescriptor
- RxUsbConfigurationSetDescriptor
- RxUsbStringSetDescriptor
Notifications
Links
- USBCALLS Toolkit [1]
- Netlabs USB Project
- Arca Noae Wiki - The USB Subsystem