libusbK 
3.0
Library Documentation
© 2011-2021 Travis Lee Robinson. All rights reserved.
KISO_PACKET Struct Reference

Structure describing an isochronous transfer packet for libusbK. More...

#include <lusbk_shared.h>

Data Fields

UINT Offset
 Specifies the offset, in bytes, of the buffer for this packet from the beginning of the entire isochronous transfer data buffer. More...
 
USHORT Length
 Set by the host controller to indicate the actual number of bytes received by the device for isochronous IN transfers. Length not used for isochronous OUT transfers. More...
 
USHORT Status
 Contains the 16 least significant USBD status bits, on return from the host controller driver, of this transfer packet. More...
 

Detailed Description

Structure describing an isochronous transfer packet for libusbK.

Field Documentation

UINT Offset

Specifies the offset, in bytes, of the buffer for this packet from the beginning of the entire isochronous transfer data buffer.

Offset represents an absolute data offset from the start of the Buffer parameter UsbK_IsoReadPipe or UsbK_IsoWritePipe.

Note
This field is assigned by the user application only and used by the driver upon transfer submission and completion.
USHORT Length

Set by the host controller to indicate the actual number of bytes received by the device for isochronous IN transfers. Length not used for isochronous OUT transfers.

Note
This field is is not user assignable and is updated by the driver upon transfer completion.
USHORT Status

Contains the 16 least significant USBD status bits, on return from the host controller driver, of this transfer packet.

See MSDN for USBD status codes: USBD status code reference

Note
This field is is not user assignable and is updated by the driver upon transfer completion.

The documentation for this struct was generated from the following file: