RxUsbEndpointClearHalt
Appearance
Description
Executes the Standard Device Request that clears an endpoint halt status.
Syntax
rc = RxUsbEndpointClearHalt(Handle,Endpoint)
Parameters
- Handle
- the Device Handle received from the previous RxUsbOpen.
- Endpoint
- the Endpoint Number with the Direction Bit set to zero.
Return Code
Errors
Remarks
Example Code
/* add RxUsbEndpointClearHalt */ rc = RxFuncAdd('RxUsbEndpointClearHalt','usbcalls','RxUsbEndpointClearHalt') say '+RxUsbEndpointClearHalt(),RC=0x'd2x(rc) /* invoke RxUsbEndpointClearHalt */ Endpoint=0 /* default control endpoint */ Endpoint=128+1 /* isochronous endpoint */ rc = RxUsbEndpointClearHalt(Handle,Endpoint) say '*RxUsbEndpointClearHalt(),RC=0x'd2x(rc) /* drop RxUsbEndpointClearHalt */ rc = RxFuncDrop('RxUsbEndpointClearHalt') say '-RxUsbEndpointClearHalt(),RC=0x'd2x(rc)