SETUP_PACKET

CYUSB3

SETUP_PACKET

Top Previous Next

Header

cyioctl.h

 

 

Description

 

A SETUP_PACKET is part of the a SINGLE_TRANSFER structure. It contains important parameters for Control Endpoint transfers when sending the IOCTL_ADAPT_SEND_EP0_TRANSFER command.

 

The structure is defined as:

 

 

typedef struct  _SETUP_PACKET {

union  {

BM_REQ_TYPE  bmReqType;

UCHAR bmRequest;

};

UCHAR bRequest;

union  {

WORD_SPLIT  wVal;

USHORT wValue;

};

union  {

WORD_SPLIT  wIndx;

USHORT wIndex;

};

union  {

WORD_SPLIT  wLen;

USHORT wLength;

};

ULONG ulTimeOut;

} SETUP_PACKET, *PSETUP_PACKET;