Jump to content

USBCalls: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Links: unfug
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Description==
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.  
==Download==
* Included on [http://hobbes.nmsu.edu/h-search.php?key=usbdrv Lar's USB Drivers] - Version 10.205 (2016/06/14)
* USBCALLS Toolkit [http://88watts.net/download/UsbCallsToolkit.zip]


==File==
==File==
* [[USBCALLS.DLL]]
* [[USBCALLS.DLL]]


==License==
;License
* Freeware Runtime.  
* Freeware Runtime.  


==USBCALLS Functions==
==USBCALLS Functions==
* UsbQueryDeviceReport
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* UsbQueryNumberDevices
===System Information===
* UsbQueryStringReport
* [[UsbQueryNumberDevices]]
* UsbBulkRead
* [[UsbQueryDeviceReport]]
* UsbIsoClose
* [[UsbQueryDeviceInfo]]
* UsbIrqWrite
* [[UsbQueryStringReport]]
* UsbBulkWrite
* [[UsbQueryVersion]]
* UsbCtrlMessage
 
* UsbFixupDevice
===PNP Notification===
* UsbDeregisterNotification
* [[UsbRegisterChangeNotification]]
* UsbDataTransfer
* [[UsbRegisterDeviceNotification]]
* UsbCtrlTransfer
* [[UsbDeregisterNotification]]
* UsbCancelTransfer
 
* UsbQueryDeviceInfo
===Access Device===
* UsbOpen
* [[UsbOpen]]
* UsbRegisterChangeNotification
* [[UsbClose]]
* UsbClose
 
* UsbRegisterDeviceNotification
===Control Transfer===
* UsbIrqRead
* [[UsbCtrlMessage]]
* UsbIsoOpen
* [[UsbCtrlTransfer]]
* UsbStartDataTransfer
 
* UsbStartIsoTransfer
===Data Transfer===
* UsbStartCtrlTransfer
* [[UsbBulkRead]]
* RxUsbDeviceClearFeature
* [[UsbBulkWrite]]
* RxUsbInterfaceClearFeature
* [[UsbDataTransfer]]
* RxUsbEndpintClearFeature
* [[UsbIrqRead]]
* RxUsbEndpointClearHalt
* [[UsbIrqWrite]]
 
===Isochronous===
* [[UsbIsoOpen]]
* [[UsbIsoClose]]
 
===Asynchronous===
* [[UsbStartCtrlTransfer]]
* [[UsbStartDataTransfer]]
* [[UsbStartIsoTransfer]]
* [[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>


==Links==
==Links==
* [http://trac.netlabs.org/usb Netlabs USB Project]
*USBCALLS Toolkit [http://88watts.net/download/UsbCallsToolkit.zip]
* [https://svn.netlabs.org/repos/usb/basedrv/ Source Code at Netlabs]
*[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

USBCALLS Macros

REXX Support

Init

Device Handle

Device Number

Control

Easy Device Control

Easy Interface Control

Easy Endpoint Control

Data Transfer

Descriptors

Notifications

Links