Jump to content

USBCalls: Difference between revisions

From EDM2
Ak120 (talk | contribs)
m Links: unfug
 
(14 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.  


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]]


===To Sort===
===Descriptor Requests===
* [[UsbFixupDevice]]
* [[UsbDeviceGetDescriptor]]
* [[UsbConfigurationGetDescriptor]]
* [[UsbStringGetDescriptor]]
* [[UsbDeviceSetDescriptor]]
* [[UsbConfigurationSetDescriptor]]
* [[UsbStringSetDescriptor]]
</div>
==REXX Support==
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
===Init===
* [[UsbLoadFuncs]]
* [[UsbLoadFuncs]]
* [[UsbDropFuncs]]
* [[UsbDropFuncs]]
* [[RxUsbQueryVersion]]
* [[RxUsbQueryVersion]]


====Device Handle====
===Device Handle===
* [[RxUsbOpen]]
* [[RxUsbOpen]]
* [[RxUsbClose]]
* [[RxUsbClose]]
Line 64: Line 92:
* [[RxUsbQueryDeviceInfo]]  
* [[RxUsbQueryDeviceInfo]]  


====Device Number====
===Device Number===
* [[RxUsbQueryNumberDevices]]
* [[RxUsbQueryNumberDevices]]
* [[RxUsbQueryDeviceReport]]  
* [[RxUsbQueryDeviceReport]]  
* [[RxUsbQueryDeviceInfo]]
* [[RxUsbQueryDeviceInfo]]


====Control====
===Control===
* [[RxUsbCtrlMessage]]
* [[RxUsbCtrlMessage]]
* [[RxUsbCtrlTransfer]]
* [[RxUsbCtrlTransfer]]


=====Easy Device Control=====
====Easy Device Control====
* [[RxUsbDeviceGetConfiguration]]
* [[RxUsbDeviceGetConfiguration]]
* [[RxUsbDeviceSetConfiguration]]  
* [[RxUsbDeviceSetConfiguration]]  
Line 81: Line 109:
* [[RxUsbDeviceSetAddress]]
* [[RxUsbDeviceSetAddress]]


=====Easy Interface Control=====
====Easy Interface Control====
* [[RxUsbInterfaceGetAltSetting]]
* [[RxUsbInterfaceGetAltSetting]]
* [[RxUsbInterfaceSetAltSetting]]
* [[RxUsbInterfaceSetAltSetting]]
Line 88: Line 116:
* [[RxUsbInterfaceSetFeature]]
* [[RxUsbInterfaceSetFeature]]


=====Easy Endpoint Control=====
====Easy Endpoint Control====
* [[RxUsbEndpointGetStatus]]  
*[[RxUsbEndpointGetStatus]]
* [[RxUsbEndpointClearHalt]]
*[[RxUsbEndpointClearHalt]]
* [[RxUsbEndpointClearFeature]]  
*[[RxUsbEndpointClearFeature]]
* [[RxUsbEndpointSetFeature]]
*[[RxUsbEndpointSetFeature]]
* [[RxUsbEndpointSynchFrame]]
*[[RxUsbEndpointSynchFrame]]


=====Data Transfer======
===Data Transfer===
* [[RxUsbDataTransfer]]
*[[RxUsbDataTransfer]]
* [[RxUsbBulkRead]]
*[[RxUsbBulkRead]]
* [[RxUsbIrqRead]]
*[[RxUsbIrqRead]]
* [[RxUsbBulkWrite]]
*[[RxUsbBulkWrite]]
* [[RxUsbIrqWrite]]
*[[RxUsbIrqWrite]]


=====Descriptors=====
===Descriptors===
* [[RxUsbDeviceGetDescriptor]]  
*[[RxUsbDeviceGetDescriptor]]
* [[RxUsbConfigurationGetDescriptor]]
*[[RxUsbConfigurationGetDescriptor]]
* [[RxUsbStringGetDescriptor]]
*[[RxUsbStringGetDescriptor]]
* [[RxUsbDeviceSetDescriptor]]
*[[RxUsbDeviceSetDescriptor]]
* [[RxUsbConfigurationSetDescriptor]]
*[[RxUsbConfigurationSetDescriptor]]
* [[RxUsbStringSetDescriptor]]
*[[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://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