Jump to content

UsbIrqRead

From EDM2
Revision as of 22:20, 5 January 2017 by Martini (talk | contribs) (Created page with "==Description== Executes synchronous device-to-host Interrupt Transfer with a specific endpoint. ==Syntax== <pre> ulrc=UsbIrqRead(Handle,Endpoint,AltInterface,*pulNumBytes,*p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Executes synchronous device-to-host Interrupt Transfer with a specific endpoint.

Syntax

ulrc=UsbIrqRead(Handle,Endpoint,AltInterface,*pulNumBytes,*pucData,ulTimeout)

Parameters

Handle
Endpoint
AltInterface
*pulNumBytes
*pucData
ulTimeout

Return Code

Errors

 [0000] - NO_ERROR
 [0006] - ERROR_INVALID_HANDLE
 [0008] - ERROR_NOT_ENOUGH_MEMORY
 [0057] - ERROR_INVALID_PARAMETER
 [005F] - ERROR_INTERRUPT (95)
 [0122] - ERROR_TOO_MANY_HANDLES (290)
 [0280] - ERROR_TIMEOUT (640)
 [1B58] - USB_NOT_INIT (7000)
 [1B5B] - USB_ERROR_INVALID_ENDPOINT (7003)
 [4000] - USB_IORB_REQUEST
 [80XX] - USB_IORB_FAILED

Remarks

Example Code


Related Functions